Some time ago I am looking for the web on how I can return an OUT in MYSQL with stored procedures in php.
PHP
mysqli_select_db($conexion, $database_conexion);
$query_DatosWeb = sprintf("CALL genera_sesion()");
$DatosWeb = mysqli_query($conexion, $query_DatosWeb) or die(mysqli_error($conexion));
$row_DatosWeb = mysqli_fetch_assoc($DatosWeb);
$totalRows_DatosWeb = mysqli_num_rows($DatosWeb);