Code:
mysql_select_db("projekat",mysql_connect("127.0.0.1","root", "blabla",TRUE, 131074));
mysql_fetch_array($result=mysql_query("CALL test;"));
echo mysql_error();
mysql_select_db("projekat",mysql_connect("127.0.0.1","root", "blabla",TRUE, 131074));
mysql_fetch_array($result=mysql_query("CALL test;"));
echo mysql_error();
Ali, kad jednu za drugom :
Code:
mysql_select_db("projekat",mysql_connect("127.0.0.1","root", "blabla",TRUE, 131074));
mysql_fetch_array($result=mysql_query("CALL test;"));
echo mysql_error();
mysql_fetch_array($result=mysql_query("CALL test;"));
echo mysql_error();
mysql_select_db("projekat",mysql_connect("127.0.0.1","root", "blabla",TRUE, 131074));
mysql_fetch_array($result=mysql_query("CALL test;"));
echo mysql_error();
mysql_fetch_array($result=mysql_query("CALL test;"));
echo mysql_error();
Znaci,ovo sam napisao samo testa radi,procedura ima neki SELECT, ali koje god dve procedure zaredom da pozove... ovo izbaci :
Commands out of sync; you can't run this command now
Molim za pomoc,radim projekat za skolu ,a gluposti me zezaju sve vreme...
--- Probao sam i da ubacim mysql_free_result($result) izmedju ali dzaba....
I don't need a girl for sex , All I Need is Binary and HEX