Re: Code Not entering the value in the Database
| From: | Murray | Date: | Thu, 22 Jan 2009 01:01:57 +0000 |
| Subject: | Re: Code Not entering the value in the Database | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286982@lists.php.net to get a copy of this message | ||
You don't appear to be doing anything with this line of your code. You build
a string variable, but you don't call anything like mysql_query($sql) to
actually execute the INSERT statement.
M is for Murray
On Wed, Jan 21, 2009 at 12:34 AM, Chris Carter <chandan9sharma@yahoo.com>wrote:
> $sql = "insert into
userstable (hiddendata) VALUES
> ('$hiddendata')";
>