I am not sure if implemented the procedure wrong on the php end or mysql end.
I have this simple procedure
I call this directy in mysql console and get the result "good" under table "A";Code:Procedure check (OUT A CHAR) BEGIN SELECT "good" AS A; END
In my php, I have
I get this error :PHP Code:...
$r = mysql_query("CALL check());
$r2 = mysql_result($r,0);
echo $r2;
"PROCEDURE check can't be return a result set in the given context"




Bookmarks