Forum Moderators: coopster
You could always list your columns rather than use the relative syntax too.
INSERT INTO users
(id, firstname, lastname, username, userpass, userdate)
VALUES
(NULL, 'bob', 'smith', 'bobsmith@example.com', PASSWORD('bobsmith'), NOW());
Don't forget that if you do not specify the column list for INSERT ... VALUES, values for every column in the table must be provided in the VALUES() list. If you don't know the order of the columns in the table, use "DESCRIBE users" to find out.