www.webdeveloper.com
Results 1 to 3 of 3

Thread: HTML Form to SQL Database

Hybrid View

  1. #1
    Join Date
    Mar 2013
    Posts
    23

    HTML Form to SQL Database

    Hi,
    I have a Form:

    Code:
    <form action="reminder.php" method="post">
    		Name: <input type ="text" name="name" value="" /> <br />
    		Name: <input type="text" name="customer" /><br />
    		Email: <input type="text" name="email" /> <br />
    		Phone Number: <input type="text" name="phone" /> <br />
    		Vehicle Make/model: <input type="text" name="car" /> <br />
    		Registration: <input type="text" name="registration" /> <br />
    		Date <input type="date" name="date" /> <br />
    		<br />
    		<input type="submit" name="submit" value="Submit" />
    	</form>
    I have set the action to reminder.php which has all commands and relevant "stuff". There is also another file named "databases" which has the database name, username, password, etc...

    How can I link the HTML form so the contents publish to the database?

    thanks

  2. #2
    Join Date
    Oct 2013
    Location
    3rd planet from the sun
    Posts
    144
    this is a php question may have better luck in that section of the forum

  3. #3
    Join Date
    Nov 2013
    Posts
    60
    The code inside that reminder.php file will need to perform the action of getting the data from the form and storing it in the database. What does the code look like in that file?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles