At 12:15 +0200 5/12/02, Inbal Ovadia wrote:
>Hi
>I build a batch file that run a few sql queries.
>I want to know the results (how many rows affected)
>but it doesn't recognize the method mysql_affected_rows.
>What should i use to get the results?
>Thanks

mysql_affected_rows().

Unless they're SELECT queries, in which case, use mysql_num_rows().

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to