Re: PHP MySQL Insert Statements

From: Date: Fri, 12 Mar 2010 02:38:55 +0000
Subject: Re: PHP MySQL Insert Statements
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-302733@lists.php.net to get a copy of this message
Martine Osias wrote:
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? Most likely syntax of the insert statement.
Do your insert statements work if used in MySQL Query Browser? What is MySQL returning? Are you using OOP or old functions? Have you tried having PHP echo your insert statement so you can see exactly what you are sending MySQL? Stephen

« previous php.general (#302733) next »