Re: PHP MySQL Insert Statements

From: 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. Martine
Should 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

« previous php.general (#302736) next »