I would like to know how to call a stored procedure of Mysql
from PHP
, I have tried it in several ways but of none I have given and I searched the Internet and neither.
I tried it as a simple query like this:
$cal = $_POST['calcular']; if (isset($cal)) { $query = "call CalificaMejor();"; $datos = mysqli_query($conexion, $query); }
Thank you very much in advance.