sätt detta på ditt senaste uttalande;
SELECT ROW_COUNT();
UPPDATERING 1
vad sägs om att använda mysql_affected_rows
, exempel
<?php
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
if (!$link)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db('mydb');
/* this should return the correct numbers of deleted records */
mysql_query('you SQL QUERY HERE');
printf("Records deleted: %d\n", mysql_affected_rows());
?>