I was trying to insert a row in a table but it is not inserted without showing any error:
$sql="(INSERT INTO as_registration (roll, registrationid, fullname, username,
password, dob, courseid, email, gender, phoneno, status)
VALUES ('".$roll."','".$regid."','".$name."','".$username."','"
.$pwd."','".$dob."',".intval($c_id['courseid']).",'".$email."','"
.$gender."',".$phone.",'".$status."'))";
Where is the error in this statement?
You can delete
double quotesand ‘.’ and ‘(‘ caracter