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
All 3 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.