Need Help with this Query |
[eluser]mlage[/eluser]
I'm writing a registration script and have run into a problem... my query syntax. My error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE NOT EXISTS (SELECT * F' at line 3 INSERT INTO users (email, password, username) VALUES ('[email protected]', 'jesuit', 'test1') WHERE NOT EXISTS (SELECT * FROM users Where username = 'test1' LIMIT 1) Any help will be greatly appreciated! |
Messages In This Thread |
Need Help with this Query - by El Forum - 02-05-2010, 08:07 PM
Need Help with this Query - by El Forum - 02-05-2010, 10:20 PM
Need Help with this Query - by El Forum - 02-06-2010, 03:26 AM
|