Re: <Newbie Question> Can't insert values into MySQL DB via PHP

From: Date: Fri, 10 Feb 2006 15:05:41 +0000
Subject: Re: <Newbie Question> Can't insert values into MySQL DB via PHP
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-230206@lists.php.net to get a copy of this message
Duggles Temple wrote:
...I knew I would forget something... The echo statement show the values that I would input from the last page.
I don't think so - you should be echo'ing a SQL statement that _contains_ the (sanitized???)
The MySQL error would be "Query was empty".
how do you know? (I can't fathom how a non empty string passed to mysql_query() can result in that error)


« previous php.general (#230206) next »