How to Create an HTML Form That Stores Data in a MySQL Database Using PHP Part 4 of 4




Make sure to watch the UPDATED version of this tutorial here: https://www.youtube.com/watch?v=BmHLvUdkCA0&list=PL530D33D6E548481F&index=1 For …

Original source


33 responses to “How to Create an HTML Form That Stores Data in a MySQL Database Using PHP Part 4 of 4”

  1. Finally Thanks  !! I could submit my data to the database but there is one problem.
    There are few lines of words it say Notice: Undefined index: name in C:// bla bla bla
    What is the problem?

  2. Excellent videos. I really appreciate you and I would like to call you my boss. Because you really know that how to teach step by step. I never got such type of videos in my life before. Thanks John. god bless you. 

    Can we use same steps to create a Login & Signup form?

  3. can you help me pls? when i insert something from my site let's say username bla, password, blabla etc.. and then when i check on my database it puts password as bla and username blabla it doesnt really regulate. Can you help me with that? like what do you put inside demo(input1, input2) was that input1 to indicate the input1 from your database or from your php? because i really don't know how to fix it. I would really appreciate your help.

  4. Nice tuts. I got some error can you help me where is the problem.
    "Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql' at line 1"
    thank 

  5. John first thanks for such great videos. I'm actually working the samples from a live site. So here's my question. I followed your instructions but it seems when I enter data into my form and select submit. Field ID which is field one is incrementing but no data is being stored in other two fields named FirstName and LastName. Basically I verified field name values and compared them to fields within mysql database table.

    Is there anything else I can check to resolve?

    Thanks

  6. Hi there. I follow all the videos of yours and I am still having error after I click the submit button, with any database stored.

    Here's the error:
    Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database (txtEmail, txtPassword, txtName, txtPhone, txtAddress, txtZip) VALUES (' at line 1

Leave a Reply