Hi,
I am trying to invoke a php database code from a form. My form is given below:
<form action = "firstsql2.php" method = "post">
<input type = "email" name = "email" required ="required"/>
<input type = "password" name = "password" required ="required"/>
<input type = "checkbox" name = "remember_me" value ="remember me"/>
<input type = "submit" value = "Submit"/>
</form>
There is no such thing as $mysql->connect_errno and for gawd sake DO NOT use md5 for passwords and stop putting variables in the query. They have absolutely no business whatsoever being there. And stop creating variables for nothing. Where ever you are getting these outrageous practices from, toss it in the trash,
Hi,
Thanks a lot benanamen and chorn. Actually I am practicing with security vulnerabilities as part of my college course.
I want to get rid of the syntax errors and try to see what is a sql injection and then find out a solution for it.
Kindly help me with the syntax errors. I would remove mysql->connect_errno.