ここでよりよく説明します: 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 ....";
ここでよりよく説明します: 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 ....";