View Single Post
Old 04-14-2009, 06:01 PM   #5 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

You're using backticks (`) to wrap the username/password strings in the VALUES portion of the query: use quotes instead.

Also, if your uid column is an auto-incrementing primary key, there is no need to include it in the query at all.
Salathe is offline  
Reply With Quote
The Following User Says Thank You to Salathe For This Useful Post:
shankar (04-14-2009)