im trying to submit data from my form into a database. After validating everything the code to insert the data is:
$qry = "insert into users(id, name, surname,email, password,date) values (id,'$name','$surname','$email','$password','$date')";
On testing the code i get an error that says:"error: unkown column 'geek' in field list".
geek corresponds to the password i entered in the form. The id value is an auto increament. Pliz help me out
James singizi
Recommended Answers
Jump to PostPost all your code relating to this using the 'code' link, then we can help.
All 3 Replies
TonyG_cyprus
36
Newbie Poster
EvolutionFallen
107
Junior Poster
broj1
356
Humble servant
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.