update mysql bug/feature?

From: Date: Thu, 21 Feb 2002 06:24:09 +0000
Subject: update mysql bug/feature?
Groups: php.db 
Request: Send a blank email to php-db+get-17111@lists.php.net to get a copy of this message
hi i have a form. i submit the form. the action should be an UPDATE to mysql table, so i have "UPDATE table SET col1='$val1', col2='$val2' WHERE id = '$myid'". after i press the button, i have the message '0 rows changed'. if i press refresh (ctrl+r) and confirm resubmiting of form, the page changes to '1 row changed'. why? why the action it's not performed on first click? thanks -- Marius Ursache (3563 || 3494) \|/ ____ \|/ "@'/ ,. \`@" /_| \__/ |_\ \__U_/

« previous php.db (#17111) next »