ok... here it is. I've just made up this test script. Ive got a mySQL database with a table called tblTemp with one field in it that will hold a String of 50 chars. Here is the code I use to access the table...
$link = mysql_connect("localhost", "mlambert", "xt6jx10i") ;
mysql_select_db("mlambert") ;
$result = mysql_query("delete from tblTemp", $link) ;
//this should be the result identifier .. positive integer means sql
//was executed
echo ("Result : " . $result) ;
//this should give me the number of rows that were deleted...but
//doesn't
echo ("Affected Rows : " . mysql_affected_rows($link)) ;
//this should work..but i get an error
echo ("Num Rows : " . mysql_num_rows($result)) ;
.. If I fill this table with 10 rows and then run this script, the mysql_affected_rows($link) always returns 0 even if ten rows are deleted and the mysql_num_rows($result) function signals an error : mysql_num_rows(): supplied argument is not a valid MySQL result resource
Hope this makes sense...