Sunday 15 February 2015

sql - Php and stored routines -


I am working with MySQL and PHP and I am having trouble getting results from a stored procedure call. This does not work with mysql_num_rows () because I always get 1 (boolean), so I'm asking that there is another way to get the result set . Call "$ _POST [alias] ',' $ _POST [adress] ',' '$ ris = mysql_query' ('$ _ POST [name]', $ _POST [telephone] ')" or die (Mysql_error ());

Change the function in the function and return

  Select ROW_COUNT ();   

For php scripts as a result of the function.

No comments:

Post a Comment