Re: PHP MySQL Insert Statements
| From: | Kevin Kinsey | Date: | Fri, 12 Mar 2010 05:49:17 +0000 |
| Subject: | Re: PHP MySQL Insert Statements | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302736@lists.php.net to get a copy of this message | ||
Martine Osias wrote:
Hi, My insert statements on this web page don't execute. The select statements do work. This tells me that the database connection is working. The username and password are the administrator's. What else could prevent the insert statements from executing? Thank you. MartineShould be trivial to find out what's happening. Something like: $success=mysql_query($insert_statement) or die("Uh-oh, mysql said:".mysql.error()); HTH, Kevin Kinsey