Aquí se explica mejor:http://php.net/manual/en /function.mysql-afected-rows.php
$affected = mysql_affected_rows();
if($affected > 0)
echo "row was updated/inserted";
else
echo "No rows were ....";
Aquí se explica mejor:http://php.net/manual/en /function.mysql-afected-rows.php
$affected = mysql_affected_rows();
if($affected > 0)
echo "row was updated/inserted";
else
echo "No rows were ....";