Re: update mysql from php web page

From: Date: Wed, 07 Apr 2004 19:43:58 +0000
Subject: Re: update mysql from php web page
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-182696@lists.php.net to get a copy of this message
Something I like to do during troubleshooting is to have the page display the SQL statement I'm processing. Something like: print sql_query ; That was I can verify all the parameters are correct. Do you have autocommit ON? Or need to pass a commit statement? Daniel Clark > Of course, I didn't notice I left that line out of my code, although I did > remember to put in the closing form tag. But, unfortumately, the update is > not executed. The form button works, and it appears to do what it should, > but the data is not changed. > I changed the form method to get so I could see what is being passed and > everything there is fine, but at the end of the url I see this- > url...stuff...&submit=Update+Data > Is this correct? > > What else can I do to see what was passed to the database (if anything)? > -- > Chip

« previous php.general (#182696) next »