mysql_affected_rows
| From: | Russ Michell | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | mysql_affected_rows | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12791@lists.php.net to get a copy of this message | ||
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
#-------------------------------------------------------#