On 10/1/2012 9:12 AM, Tommy Pham wrote:
On Mon, Oct 1, 2012 at 6:03 AM, Jim Giner <jim.gi...@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
Yeah - I just saw it in one of my scripts.
So - adding the error handling and the call to mysqli_error should help
the OP diagnose his problem.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php