यहां बेहतर तरीके से बताया गया है:http://php.net/manual/en /function.mysql-प्रभावित-पंक्तियों.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-प्रभावित-पंक्तियों.php
$affected = mysql_affected_rows();
if($affected > 0)
echo "row was updated/inserted";
else
echo "No rows were ....";