Di sini menjelaskan lebih baik:http://php.net/manual/en /function.mysql-affected-rows.php
$affected = mysql_affected_rows();
if($affected > 0)
echo "row was updated/inserted";
else
echo "No rows were ....";
Di sini menjelaskan lebih baik:http://php.net/manual/en /function.mysql-affected-rows.php
$affected = mysql_affected_rows();
if($affected > 0)
echo "row was updated/inserted";
else
echo "No rows were ....";