Ở đây giải thích rõ hơn: http://php.net/manual/en / functions.mysql-affected-rows.php
$affected = mysql_affected_rows();
if($affected > 0)
echo "row was updated/inserted";
else
echo "No rows were ....";
Ở đây giải thích rõ hơn: http://php.net/manual/en / functions.mysql-affected-rows.php
$affected = mysql_affected_rows();
if($affected > 0)
echo "row was updated/inserted";
else
echo "No rows were ....";