MySQL Forums
Forum List  »  PHP

Re: php foreach and mysql update for an array from a form
Posted by: Bob Field
Date: February 07, 2006 03:42PM

You should add the output of mysql_error() to your failure message so you can see what's happened.
The mysql_select_db call can probably also be moved outside of the loop.

Options: ReplyQuote


Subject
Written By
Posted
Re: php foreach and mysql update for an array from a form
February 07, 2006 03:42PM
S
February 08, 2006 07:00PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.