RE: [PHP-DB] mysql_affected_rows
| From: | Rick Emery | Date: | Thu, 27 Sep 2001 16:01:52 +0000 |
| Subject: | RE: [PHP-DB] mysql_affected_rows | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12792@lists.php.net to get a copy of this message | ||
yes, it's the same resource
-----Original Message-----
From: Russ Michell [mailto:r.j.michell@apu.ac.uk]
Sent: Thursday, September 27, 2001 10:57 AM
To: php-db@lists.php.net
Subject: [PHP-DB] mysql_affected_rows
Hey guys:
I'm wanting to check that the same inserts/deletes/updates are not being
made. As one would use
mysql_num_rows for a select statement, one uses mysql_affected_rows for all
other statements.
However what is a 'link_identifier'?? as in:
int mysql_affected_rows ([resource link_identifier])
What do I need to put between the brackets of the function where I would
simply place my result in
mysql_num_rows()??
Cheers.
Russ
#-------------------------------------------------------#
"Believe nothing - consider everything"
Russ Michell
Anglia Polytechnic University Webteam
Room 1C 'The Eastings' East Road, Cambridge
e: r.j.michell@apu.ac.uk
w: www.apu.ac.uk/webteam
www.theruss.com
#-------------------------------------------------------#
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net