Re: Re: php can't insert data mysql table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 1, 2012 at 6:03 AM, Jim Giner <jim.giner@xxxxxxxxxxxxxxxxxx> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux