Re: Re: php can't insert data mysql table
| From: | Tommy Pham | Date: | Mon, 01 Oct 2012 13:12:45 +0000 |
| Subject: | Re: Re: php can't insert data mysql table | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-319310@lists.php.net to get a copy of this message | ||
On Mon, Oct 1, 2012 at 6:03 AM, Jim Giner <jim.giner@albanyhandball.com> wrote:
> In this case, I do think that your insert statement is incorrect - I could
> be wrong. I think the VALUES clause s/b just 'VALUE'. Also if you added
> MYSQLI_ERROR to your error handling you should get a very helpful message.
>
VALUES also work. See http://dev.mysql.com/doc/refman/5.5/en/insert.html