Hello Brian, Monday, February 23, 2004, 5:11:55 PM, you wrote:
BD> $query = "INSERT INTO invoices BD> ('ip','total','creation','first_name','email','session','last_name') BD> VALUES BD> ('0.0.0.0','0.00',NOW(),'Bob','[EMAIL PROTECTED]','12345','Smith')"; You shouldn't wrap the column names in quotes. Try: $query = "INSERT INTO invoices (ip, total, creation, first_name, email, session, last_name) VALUES ... If that doesn't work there is probably an error between the query, the query data and the SQL table structure. Post the SQL table layout so the values can be checked. -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php