sæt dette på dit sidste udsagn;
SELECT ROW_COUNT();
OPDATERING 1
hvad med at bruge mysql_affected_rows
, eksempel
<?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());
?>