PHP – Insert Form Data Into MYSQL Database Using PHP




Insert Form Data Into MYSQL Database Using PHP In this tutorial I have created one html form and one insert.php page. In HTML form have used POST method …

Original source


30 responses to “PHP – Insert Form Data Into MYSQL Database Using PHP”

  1. hi, have been trying for 2 months to get this to work 99.999% of these vids are wrong ,ok I used w3school insert data under php,then use form handling w3school ,now eg.input1:<input type="text" name="input1">,input1 will be in your database field that what you want your input to go make sure when you create make it null important,now using php insert code $sql="INSERT INTO table(input1) VALUES ('".$_POST['input1']."')"; it works 2 months man there are people writing code that deliberately mess people up with bullshit,i'm sorry guys so many bad people out there.

Leave a Reply