RE: [PHP] Unable to get a form to update

From: Date: Fri, 23 Aug 2002 10:54:57 +0000
Subject: RE: [PHP] Unable to get a form to update
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-113738@lists.php.net to get a copy of this message
Nothing happens. It looks like the 'if ($submit)' clause never gets called and I don't know why. However if I send the output to another php file, the values are correct and up to date. Its just that when the form calls contacts.php, it fails. Can you see if there is some kind of basic logic failure in the if elseif construction that stops this being called? Michael Egan said: > Patrick, > > Would it be possible to place an echo line under the block of code just > to see what is being written to the database, i.e. echo $sql. > > This would at least give you an idea of what values are being passed and > where the thing might be going wrong. > > Michael Egan > > -----Original Message----- > [...]

« previous php.general (#113738) next »