Download as pdf or txt
Download as pdf or txt
You are on page 1of 35

Learn to submit HTML data to MySQL database using php Page 1 of 35

(https://www.eduonix.com/blog)

Web Programming Tutorials (https://www.eduonix.com/blog/category/web-


programming-tutorials/)
Shares

Learn to submit HTML



(http://www.facebook.com/sharer.php?
u=https%
3A%

data to MySQL database


2F%
2Fwww.eduonix.com%
2Fblog%
2Fweb-

using php
programming-
tutorials%
2Flearn-
submit-
html-
data-
mysql-
database-
using-
php% Tutor @ Eduonix (https://www.eduonix.com/blog/author/edututor/)
2F&t=Learn%
 April 1, 2014, 3 years ago
20to%
20submit% 36 (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-
20HTML% data-mysql-database-using-php/#comments)
20data% 15 498.4K
20to%
20MySQL%
20database%
20using%
In this session we will design an html form ,add the data into it and
20php)
submit it to the database by connecting it to MySQL database using php
 (https://www.eduonix.com/courses/Web-Development/Learn-PHP-and-
(http://twitter.com/share?
text=Learn%
MySQL-Development-From-Scratch?coupon_code=edublog9) .
20to%
20submit%
20HTML%
20data% • To design the html form follow the steps given below :
20to%
20MySQL%
20database%
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 2 of 35

1. Install the Xampp server in your machine and if it already


installed just go to xampp -> htdocs folder .

1. Create a new folder say addemp in the htdocs folder.

1. In this addemp folder create a new file say index.php and


Shares open it with Notepad++ or any other text editor.

(http://www.facebook.com/sharer.php?
u=https%
3A%
2F%
2Fwww.eduonix.com%
2Fblog%
2Fweb-
programming-
tutorials%
2Flearn-
submit-
html-
data-
mysql-
(https://cdnp-2f3a.kxcdn.com/blog/wp-content/uploads/2014/03/118.jpg)
database-
using-
php% 1. Now for designing a form write the given code in index.php
2F&t=Learn% file .
20to%
20submit%
20HTML%
20data%
20to%
20MySQL%
20database%
20using%
20php)


(http://twitter.com/share?
text=Learn%
20to%
20submit%
20HTML%
20data%
20to%
20MySQL%
20database%
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 3 of 35

1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 label{display:inline-block;width:100px;margin-bottom:10px;}
6 </style>
7
8
9 <title>Add Employee</title>
10 </head>
11 <body>
12
13 <form method="post" action="">
14 <label>First Name</label>
15 <input type="text" name="first_name" />
16 <br />
17 <label>Last Name</label>
18 <input type="text" name="last_name" />
19 <br />
Shares
20 <label>Department</label>
21 <input type="text" name="department" />
 22 <br />
23 <label>Email</label>
(http://www.facebook.com/sharer.php?
u=https% 24 <input type="text" name="email" />
3A% 25
2F% 26 <br />
27 <input type="submit" value="Add Employee">
2Fwww.eduonix.com%
2Fblog% 28 </form>
2Fweb-29
30
programming-
31
tutorials%
2Flearn- 32 </body>
submit-33 </html>
html-
data-
mysql-
database-
using-
php% 1. The screenshots for Notepad++ window are shown below :
2F&t=Learn%
20to%
20submit%
20HTML%
20data%
20to%
20MySQL%
20database%
20using%
20php)


(http://twitter.com/share?
text=Learn%
(https://cdnp-2f3a.kxcdn.com/blog/wp-content/uploads/2014/03/v217.jpg)
20to%
20submit% 1. Now go to xampp control pannel and start the Apache and
20HTML%
20data% MySQL modules .
20to%
20MySQL%
20database%
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 4 of 35

1. Now to run your program enter the following url in the


browser http://localhost/addemp/index.php and you will have
the following output :

(https://cdnp-2f3a.kxcdn.com/blog/wp-content/uploads/2014/03/v310.jpg)
Shares
1. Now to have a view of the inserted data just create a new file

(http://www.facebook.com/sharer.php?
called as process.php in the same addemp folder .
u=https%
3A%
2F%
2Fwww.eduonix.com%
2Fblog%
2Fweb-
programming-
tutorials%
2Flearn-
submit-
html-
data-
mysql-
database-
using-
php%(https://cdnp-2f3a.kxcdn.com/blog/wp-content/uploads/2014/03/v42.jpg)
2F&t=Learn%
20to% 1. Write the code in process.php file
20submit%
20HTML%
20data%
20to%
20MySQL%
20database%
20using%1 <?php
20php)2
3 echo $_POST['first_name'];
4 echo '<br />';
 5 echo $_POST['email'];
(http://twitter.com/share?
text=Learn%
20to%
20submit%
20HTML%
20data%
20to% 1. So you will have the following view of your Notepad++
20MySQL% window :
20database%
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 5 of 35

  

(https://cdnp-2f3a.kxcdn.com/blog/wp-content/uploads/2014/03/v56.jpg)
1. Now when you run the process.php file , the data that you had
inserted in the html form will get displayed .

(https://cdnp-2f3a.kxcdn.com/blog/wp-content/uploads/2014/03/v66.jpg)
Shares


(http://www.facebook.com/sharer.php?
u=https%
3A%
2F%
2Fwww.eduonix.com% (https://cdnp-
2Fblog%
2Fweb-
programming-
tutorials%
2Flearn-
submit-
2f3a.kxcdn.com/blog/wp-content/uploads/2014/03/v66.jpg)
html-
data-
mysql-
Note: It will display only FirstName and Email(As we have mentioned
database-
using-
php%only the first name and email in the code) .
2F&t=Learn%
20to%
20submit%
20HTML% 1. Now to show all the data fields present in the html form ,
20data% replace the code of process.php file with the given code :
20to%
20MySQL%
20database%
20using%
20php)

 1 <?php
(http://twitter.com/share?
2
text=Learn%
3 print_r($_POST);
20to%
20submit%
20HTML%
20data%
20to%
20MySQL% 1. Here is the screen shot of Notepad++ window :
20database%
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 6 of 35

  

(https://cdnp-2f3a.kxcdn.com/blog/wp-content/uploads/2014/03/v78.jpg)
1. Now run the index.php file and insert data in to the html form :

Shares


(http://www.facebook.com/sharer.php?
u=https%
3A%(https://cdnp-2f3a.kxcdn.com/blog/wp-content/uploads/2014/03/v87.jpg)
2F%
2Fwww.eduonix.com%
1. After inserting the data click on the add button which will pass
2Fblog%
2Fweb- this data to the process.php file and when you run the
programming-
tutorials% process.php file you will get the following output :
2Flearn-
submit-
html-
data-
mysql-
database-
using-
php%
2F&t=Learn%
20to%
20submit%
20HTML%
20data%
20to%
(https://cdnp-2f3a.kxcdn.com/blog/wp-content/uploads/2014/03/v95.jpg)
20MySQL%
20database%
20using% 1. In our example , we need to get connected with the MySQL
20php) database , so let’s modify the process.php file .


(http://twitter.com/share?
text=Learn%
20to%
20submit%
20HTML% 1. Now write the given code in the process.php file.
20data%
20to%
20MySQL%
20database%
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 7 of 35

1 <?php include 'database.php';>


2
3 <?php
4
5 // create a variable
6 $first_name=$_POST['first_name'];
7 $last_name=$_POST['last_name'];
8 $department=$_POST['department'];
9 $email=$_POST['email'];
10
11 //Execute the query
12
13 mysqli_query($connect"INSERT INTO employees1(first_name,last_name,department,email)
14 VALUES('$first_name','$last_name','$department','$email')"

Note:-Here we had included the database.php file at the beginning in the


code to get connected with the database.
In the process.php file we have to add the insert query to add the record
Shares

in our database.

(http://www.facebook.com/sharer.php?
u=https%
3A% 1. To create a database connection we have to create new file say
2F%
2Fwww.eduonix.com%
database.php in the same addemp folder.
2Fblog%
2Fweb-
programming-
tutorials%
2Flearn-
submit-
html-
data- 1. You will have the following view :
mysql-
database-
using-
php%
2F&t=Learn%
20to%
20submit%
20HTML%
20data%
20to%
20MySQL%
20database%
20using%
20php)
(https://cdnp-2f3a.kxcdn.com/blog/wp-content/uploads/2014/03/v105.jpg)

1. Now open the database.php file in Notepad++ or any other text
(http://twitter.com/share?
text=Learn%
20to% editor and write the given code :
20submit%
20HTML%
20data%
20to%
20MySQL%
20database%
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 8 of 35

1 <?php
2 $connect=mysqli_connect('localhost','root','123','mydatabase');
3
4 if(mysqli_connect_errno($connect))
5 {
6 echo 'Failed to connect';
7 }
8
9 ?>

1. You will have the following view of your Notepad++ window :

Shares


(http://www.facebook.com/sharer.php?
u=https%
3A%
2F%
2Fwww.eduonix.com%
2Fblog%
2Fweb-(https://cdnp-2f3a.kxcdn.com/blog/wp-content/uploads/2014/03/v1110.jpg)
programming-1. After creating the database connection , run the index.php file
tutorials%
2Flearn- insert the data into it , this data will get added into your
submit-
html- database which is present in the phpmyadmin of the Xampp.
data-
mysql-
database-
using-
php%
2F&t=Learn%
20to%
20submit% 1. So add the data and click the Add Employee button :
20HTML%
20data%
20to%
20MySQL%
20database%
20using%
20php)


(http://twitter.com/share?
text=Learn%
20to%
20submit%
20HTML%
(https://cdnp-2f3a.kxcdn.com/blog/wp-content/uploads/2014/03/v125.jpg)
20data%
20to% 1. If you run the process.php file it will display the blank window
20MySQL%
20database% which means your data has been inserted into the database .
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 9 of 35

  

(https://cdnp-2f3a.kxcdn.com/blog/wp-content/uploads/2014/03/v133.jpg)
1. Now check your created employee table in the database in the
phpmyadmin pannel :

Shares


(http://www.facebook.com/sharer.php?
u=https%
3A%
2F%
2Fwww.eduonix.com%
2Fblog%
2Fweb-
programming-
tutorials%
2Flearn-
submit-
html-(https://cdnp-2f3a.kxcdn.com/blog/wp-content/uploads/2014/03/v142.jpg)
data-
mysql- 1. Now to display the content in the browser , we have to add code
database-
using- that will check the if added condition :
php%
2F&t=Learn%
20to%
20submit%
20HTML%
20data%
20to%
20MySQL% 1. So add the given code in the process.php file .
20database%
20using%
20php)


(http://twitter.com/share?
text=Learn%
20to%
20submit%
20HTML%
20data%
20to%
20MySQL%
20database%
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 10 of 35

1 <?php include 'database.php'; ?>


2
3 <?php
4
5 // create a variable
6 $first_name=$_POST['first_name'];
7 $last_name=$_POST['last_name'];
8 $department=$_POST['department'];
9 $email=$_POST['email'];
10
11 //Execute the query
12
13
14 mysqli_query($connect,"INSERT INTO employees1 (first_name,last_name,department,email)
15         VALUES ('$first_name','$last_name','$department','$email')"
16
17 if(mysqli_affected_rows($connect) > 0){
18 echo "<p>Employee Added</p>";
19 echo "<a href="index.html">Go Back</a>";
Shares
20 } else {
21 echo "Employee NOT Added<br />";
 22 echo mysqli_error ($connect);
23 }
(http://www.facebook.com/sharer.php?
u=https%
3A%
2F%
2Fwww.eduonix.com%
2Fblog%
2Fweb- 1. ScreenShot of Notepad++ window is shown below :
programming-
tutorials%
2Flearn-
submit-
html-
data-
mysql-
database-
using-
php%
2F&t=Learn%
20to%
20submit%
20HTML%
20data%
20to%
20MySQL%
(https://cdnp-2f3a.kxcdn.com/blog/wp-content/uploads/2014/03/v153.jpg)
20database%
20using% 1. After inserting the data in the index.php file click the
20php)
AddEmployees button we will be navigated to the process.php
 file.
(http://twitter.com/share?
text=Learn%
20to%
20submit%
20HTML%
20data%
20to% 1. So if the data is inserted into the the database you will have the
20MySQL%
20database% following window otherwise it will display an error message:-
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 11 of 35

  

(https://cdnp-2f3a.kxcdn.com/blog/wp-content/uploads/2014/03/v162.jpg)
1. In the code section of the process.php file we have added the
link from where we can go back to the index.php file to add the
record of the employee in the database.
Shares


(http://www.facebook.com/sharer.php?
u=https%
3A%
2F%
1. When we click on the GoBack link it will link to the index.php
2Fwww.eduonix.com%
2Fblog% file.
2Fweb-
programming-
tutorials%
2Flearn-
submit-
html-
data-
mysql- 1. Thus you will be navigated to the index.php file .
database-
using-
php%
2F&t=Learn%
20to%
20submit%
20HTML%
20data%
20to%
20MySQL%
20database%
20using%
20php)
(https://cdnp-2f3a.kxcdn.com/blog/wp-content/uploads/2014/03/v172.jpg)

1. Thus we have learnt to insert the data into the MySQL database by
(http://twitter.com/share?
text=Learn% designing an html form and connecting the database using php.
20to%
20submit%
20HTML%
20data%
Learn to submit HTML data to MySQL database using php was last modified: May 12th, 2016 by
20to%
20MySQL%
Tutor @ Eduonix
20database%
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 12 of 35

 Share this article

   
(http://www.facebook.com/sharer.php?
(http://twitter.com/share?
(http://plus.google.com/share?
(http://www.linkedin.com/sha
u=https% text=Learn url=https% mini=true&url=https%
3A%2F% to submit 3A%2F% 3A%2F%
2Fwww.eduonix.com%
HTML 2Fwww.eduonix.com%
2Fwww.eduonix.com%
2Fblog% data to 2Fblog% 2Fblog%
2Fweb- MySQL 2Fweb- 2Fweb-
programming- database programming- programming-
tutorials% using php) tutorials% tutorials%
Shares 2Flearn- 2Flearn- 2Flearn-
 submit- submit- submit-
(http://www.facebook.com/sharer.php?
html-data- html-data- html-data-
u=https%
3A% mysql- mysql- mysql-
2F%
database-
2Fwww.eduonix.com% database- database-
2Fblog% using- using- using-
2Fweb-
php%2F)
programming- php%2F) php%
tutorials% 2F&title=Learn
2Flearn-
submit- to submit
html-
data- HTML
mysql- data to
database-
using- MySQL
php% database
2F&t=Learn%
20to% using
20submit%
20HTML% php&summary=In
20data% this
20to%
20MySQL% session we
20database% will design
20using%
20php) an html
form ,add
 the data
(http://twitter.com/share?
text=Learn% into it and
20to%
20submit% submit it
20HTML% to the
20data%
20to% database
20MySQL% by
20database%
20using% connecting
20php&url=https%
3A% it to
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 13 of 35

MySQL
database
using
php . To
design the
html form
follow the
steps
given
below :  
Install the
Xampp
Shares server in
 your
(http://www.facebook.com/sharer.php? machine
u=https%
3A% and if it
2F%
2Fwww.eduonix.com% already
2Fblog% installed
2Fweb-
programming- just go)
tutorials%
2Flearn-
submit-
html-
data-
mysql-

database-
using-
php%Learn to connect database in php
2F&t=Learn%
20to%
(https://www.eduonix.com/blog/web-
20submit%
20HTML%
programming-tutorials/learn-connect-database-
20data%
20to%
php/)
20MySQL%
20database%
20using%
20php)


Implementing functions and file inclusion in php
(http://twitter.com/share?
text=Learn% (https://www.eduonix.com/blog/web-
20to%
20submit%programming-tutorials/implementing-functions-
20HTML%
20data% file-inclusion-php/)
20to%
20MySQL%
20database%
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 14 of 35

 Article Tags

Database Connection in php (https://www.eduonix.com/blog/tag/database-connection-in-php/)

HTML form Design (https://www.eduonix.com/blog/tag/html-form-design/)

MySQL database in php (https://www.eduonix.com/blog/tag/mysql-database-in-php/)

MySQL Tutorial (https://www.eduonix.com/blog/tag/mysql-tutorial/)

PHP Tutorial (https://www.eduonix.com/blog/tag/php-tutorial/)

Web Development (https://www.eduonix.com/blog/tag/web-development/)


Shares

 web programming (https://www.eduonix.com/blog/tag/web-programming/)


(http://www.facebook.com/sharer.php?
u=https%
3A%
2F%
2Fwww.eduonix.com%
2Fblog%
2Fweb-
programming-
tutorials%
2Flearn-
submit-
html-
data-
mysql-
database-
using-
php%
2F&t=Learn%
20to%
20submit%
20HTML%
20data%
20to%
20MySQL%
20database%
20using%
20php)


(http://twitter.com/share?
text=Learn%
20to%
20submit%
20HTML%
20data%
20to%
20MySQL%
20database%
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 15 of 35

 Facebook Comments

Shares


(http://www.facebook.com/sharer.php?
u=https%
3A%
2F%
2Fwww.eduonix.com%
2Fblog%
2Fweb-
programming-
tutorials%
2Flearn-
submit-
html-
data-
mysql-
database-
using-
php%
2F&t=Learn%
20to%
20submit%
20HTML%
20data%
20to%
20MySQL%
20database%
20using%
20php)


(http://twitter.com/share?
text=Learn%
20to%
20submit%
20HTML%
20data%
20to%
20MySQL%
20database%
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 16 of 35

47 Comments

Add a comment...

Dhiraj Kumar · Cluster Innovation Centre, University of Delhi


Thanks
Like · Reply · Nov 14, 2015 1:59am · Edited

Sunita Pandya · Gandhinagar, Gujarat


thanking you
Like · Reply · Nov 25, 2015 2:14am
Shares
Bert Menor Buya
 When I make these one, it shows an error "Parse error: syntax error, unexpected '"' in
(http://www.facebook.com/sharer.php?
u=https% C:\xampp\htdocs\addemp\process2.php on line 13"
3A% Like · Reply · Dec 1, 2015 5:50am
2F%
2Fwww.eduonix.com%Muhammad Afzaal · Chief executive officer at Aiinak
2Fblog%
2Fweb- you have errors on your sytax codes check the code properly and then run again
programming-
tutorials% Like · Reply · 1 · Dec 1, 2015 9:40am
2Flearn-
submit- Manuel Diera
html- Did you figure it out? I had it too, the reason is there needs to be a , after $connect before th
data-
mysql- Like · Reply · Feb 4, 2016 3:08pm
database-
using- Ayrton Fineout · PC Repair Technician at Central Michigan University
php% I am also having the same error
2F&t=Learn%
20to% Like · Reply · Apr 17, 2016 1:26pm
20submit%
20HTML% Show 3 more replies in this thread
20data%
20to%
20MySQL%
20database% Muhammad Afzaal · Chief executive officer at Aiinak
20using% Good work outclass
20php)
Like · Reply · Dec 1, 2015 9:29am

 Muhammad Afzaal · Chief executive officer at Aiinak


(http://twitter.com/share?
text=Learn% please add a function in php that if someone add again email it will alert to user that the email entere
20to% already ...?
20submit% Like · Reply · Dec 1, 2015 9:42am
20HTML%
20data%
20to%
20MySQL% Load 10 more comments
20database%
20using% 
20php&url=https%
3A% Facebook Comments Plugin
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 17 of 35

Website Comments

eban emmanuel
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
mysql-database-using-php/?replytocom=351#respond)
September 3rd, 2014 (https://www.eduonix.com/blog/web-programming-

tutorials/learn-submit-html-data-mysql-database-using-php/#comment-351)

goodday my name is eban emmanuel am a student in ghana.


ive been learning html5 and ive got little issues with creating a
form when creating a form in html5 the form webpage must it
be stored as .php or can i store it as a html and connect with a
phpscript connecting to my xamp database ..really need this for
ma project will be glad to hear back from you
Shares


(http://www.facebook.com/sharer.php?
u=https%
3A% Webbience
2F% Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
Decembermysql-database-using-php/?replytocom=4380#respond)
25th, 2014 (https://www.eduonix.com/blog/web-programming-
2Fwww.eduonix.com%
2Fblog% tutorials/learn-submit-html-data-mysql-database-using-php/#comment-4380)
2Fweb-
programming- Nice Form Data submission tutorial. If you provided a sample to
tutorials%
2Flearn- store form data (comment) in text file and refresh the html page
submit-
html- on submission and display the comment instantly. Thanks.
data-
mysql-
database-
using-
php% johnny
2F&t=Learn%
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
20to% May 1st,mysql-database-using-php/?replytocom=6057#respond)
2015 (https://www.eduonix.com/blog/web-programming-tutorials/learn-
20submit%
20HTML% submit-html-data-mysql-database-using-php/#comment-6057)
20data%
20to% There are some mistakes here, but the majority of your code is
20MySQL%
20database% ok. Thank you for this tutorial.
20using%
20php)
Will
 Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-
submit-html-data-mysql-database-using-php/?replytocom=6372#respond)
June 18th, 2015 (https://www.eduonix.com/blog/web-programming-
(http://twitter.com/share?
text=Learn% tutorials/learn-submit-html-data-mysql-database-using-
20to%
20submit% php/#comment-6372)
20HTML%
20data% Agreed Johnny. A few too many I think.
20to%
20MySQL% The most glaring is action=”” instead of
20database% action=”process.php”
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 18 of 35

joseph
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
mysql-database-using-php/?replytocom=6096#respond)
May 10th, 2015 (https://www.eduonix.com/blog/web-programming-

tutorials/learn-submit-html-data-mysql-database-using-php/#comment-6096)

its not working please help me improve

Chorpher
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
mysql-database-using-php/?replytocom=7911#respond)
September 2nd, 2015 (https://www.eduonix.com/blog/web-programming-

tutorials/learn-submit-html-data-mysql-database-using-php/#comment-7911)

I typed process.php but when I run it it is not working, it show


Shares me that

(http://www.facebook.com/sharer.php?
u=https% Notice: Undefined index: first_name in
3A% C:\xampp\htdocs\addemp\process.php on line 3
2F%
2Fwww.eduonix.com%
2Fblog%
2Fweb- is there something i lost?
programming-
tutorials%
2Flearn-
submit- ffffwee
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-
html- submit-html-data-mysql-database-using-php/?replytocom=12163#respond)
March 17th, 2016 (https://www.eduonix.com/blog/web-
data-
mysql- programming-tutorials/learn-submit-html-data-mysql-database-
database-
using-php/#comment-12163)
using-
php%
2F&t=Learn% sme problem here. can u share the answer to the
20to% problem
20submit%
20HTML%
20data%
20to%
20MySQL%
20database% venu
20using% Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-
20php) submit-html-data-mysql-database-using-php/?replytocom=15135#respond)
July 20th, 2016 (https://www.eduonix.com/blog/web-programming-

tutorials/learn-submit-html-data-mysql-database-using-

(http://twitter.com/share? php/#comment-15135)
text=Learn%
20to% same to me
20submit%
20HTML%
20data%
20to%
20MySQL%
20database% Amaan
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-
20using% submit-html-data-mysql-database-using-php/?replytocom=17123#respond)
October 21st, 2016 (https://www.eduonix.com/blog/web-

20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 19 of 35

programming-tutorials/learn-submit-html-data-mysql-database-

using-php/#comment-17123)

just enter action=”process.php” in the form in


index.php

ayya (http://notyetmake)
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
mysql-database-using-php/?replytocom=8329#respond)
September 23rd, 2015 (https://www.eduonix.com/blog/web-programming-

tutorials/learn-submit-html-data-mysql-database-using-php/#comment-8329)

I make HTML web on my computer desktop after that i installed


Shares
xampp and xampp -> htdocs folder i make login php so, my
question is that do i need to make index.php on it or not if so

how about html that i created on desktop.that index.html also i
(http://www.facebook.com/sharer.php?
u=https% have to move on xampp -> htdocs folder
3A%
2F%
2Fwww.eduonix.com%
2Fblog% Tania
2Fweb- Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-
programming- submit-html-data-mysql-database-using-php/?replytocom=9822#respond)
October 30th, 2015 (https://www.eduonix.com/blog/web-
tutorials%
programming-tutorials/learn-submit-html-data-mysql-database-
2Flearn-
submit- using-php/#comment-9822)
html-
data- Hi,
mysql-
database- In the index.php file, in the line 13, please change
using-
php% line to
2F&t=Learn% Save again index.php, open it and and should work.
20to%
20submit%
20HTML%
20data%
20to%
20MySQL% Scotty
20database%
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
20using% Octobermysql-database-using-php/?replytocom=8855#respond)
15th, 2015 (https://www.eduonix.com/blog/web-programming-
20php) tutorials/learn-submit-html-data-mysql-database-using-php/#comment-8855)

 Hello there, I do believe your site could be having browser


(http://twitter.com/share?
text=Learn% compatibility
20to% problems. Whenever I take a look at your web site in Safari, it
20submit%
20HTML% looks fine however, if opening in Internet Explorer, it’s got
20data% some overlapping issues.
20to%
20MySQL% I merely wanted to provide you with a quick heads up!
20database%
20using% Besides that, fantastic site! 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 20 of 35

Venkatesh Mogili
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
mysql-database-using-php/?replytocom=9861#respond)
November 3rd, 2015 (https://www.eduonix.com/blog/web-programming-

tutorials/learn-submit-html-data-mysql-database-using-php/#comment-9861)

Nice explanation…..thank you so much

pradeep
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
mysql-database-using-php/?replytocom=9904#respond)
December 8th, 2015 (https://www.eduonix.com/blog/web-programming-

tutorials/learn-submit-html-data-mysql-database-using-php/#comment-9904)

I am not clear about the section…….


Shares Learn to submit HTML data to MySQL database using php

(http://www.facebook.com/sharer.php?
u=https%
3A%
2F% kamlesh
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
2Fwww.eduonix.com%
Decembermysql-database-using-php/?replytocom=9914#respond)
13th, 2015 (https://www.eduonix.com/blog/web-programming-
2Fblog%
2Fweb- tutorials/learn-submit-html-data-mysql-database-using-php/#comment-9914)
programming-
tutorials% These problem dedected in xampp control panel ? plz give me
2Flearn-
submit- it’s solution. plz sir
html-
data-
mysql-
database- 11:56:14 AM [mysql] MySQL Service detected with wrong path
using- 11:56:14 AM [mysql] Change XAMPP MySQL and Control Panel
php%
2F&t=Learn% settings or
20to% 11:56:14 AM [mysql] Uninstall/disable the other service
20submit%
20HTML% manually first
20data%
20to% 11:56:14 AM [mysql] Found Path: C:\xampp\mysql\bin\mysqld
20MySQL% –defaults-file=C:\xampp\mysql\bin\my.ini mysql
20database%
20using% 11:56:14 AM [mysql] Expected Path:
20php) c:\xampp\mysql\bin\mysqld.exe –defaults-
file=c:\xampp\mysql\bin\my.ini mysql

(http://twitter.com/share?
text=Learn%
20to%
20submit%
20HTML% kamlesh
20data% Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
20to% Decembermysql-database-using-php/?replytocom=9915#respond)
13th, 2015 (https://www.eduonix.com/blog/web-programming-
20MySQL%
tutorials/learn-submit-html-data-mysql-database-using-php/#comment-9915)
20database%
20using% 
20php&url=https% it is in windows 7. if any have knowledge about this plz explain
3A% it .
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 21 of 35

ali baba
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
mysql-database-using-php/?replytocom=10045#respond)
December 16th, 2015 (https://www.eduonix.com/blog/web-programming-

tutorials/learn-submit-html-data-mysql-database-using-php/#comment-10045)

Its a good Website for learning programming

Bramhananda |Reddy
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
mysql-database-using-php/?replytocom=11755#respond)
March 4th, 2016 (https://www.eduonix.com/blog/web-programming-

tutorials/learn-submit-html-data-mysql-database-using-php/#comment-11755)

Shares
When I followed the series of steps you given above, I got an
 error message like this:
(http://www.facebook.com/sharer.php?
u=https% Parse error: syntax error, unexpected ‘index’ (T_STRING),
3A% expecting ‘,’ or ‘;’ in C:xampphtdocsaddempprocess.php on line
2F%
2Fwww.eduonix.com% 19.
2Fblog% Kindly get me the rectification for the above error.
2Fweb-
programming-
tutorials%
2Flearn- arsalan
submit- Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-
html- submit-html-data-mysql-database-using-php/?replytocom=22278#respond)
February 27th, 2017 (https://www.eduonix.com/blog/web-
data-
programming-tutorials/learn-submit-html-data-mysql-database-
mysql-
database- using-php/#comment-22278)
using-
php% put it in comment section if you are getting errot
2F&t=Learn%
20to%
20submit%
20HTML%
20data%
20to% Amir
20MySQL% Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
20database% mysql-database-using-php/?replytocom=12213#respond)
March 20th, 2016 (https://www.eduonix.com/blog/web-programming-
20using%
20php) tutorials/learn-submit-html-data-mysql-database-using-php/#comment-12213)

Parse error: syntax error, unexpected ‘;’ in



C:\xampp\htdocs\addemp\process.php on line 1
(http://twitter.com/share?
text=Learn%
20to%
20submit%
20HTML%
20data%
20to% reinigungsunternehmen
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
20MySQL% mysql-database-using-php/?replytocom=12983#respond)
April 29th, 2016 (https://www.eduonix.com/blog/web-programming-
20database%
20using% tutorials/learn-submit-html-data-mysql-database-using-php/#comment-12983)
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 22 of 35

This page certainly has all the info I needed concerning this
subject and didn’t know who
to ask.

aclu-san-diego
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
mysql-database-using-php/?replytocom=13525#respond)
May 12th, 2016 (https://www.eduonix.com/blog/web-programming-

tutorials/learn-submit-html-data-mysql-database-using-php/#comment-13525)

I feel this is one of the such a lot vital information for me.
And i’m satisfied studying your article. But should statement on
some general issues,
Shares
The site taste is great, the articles is in reality excellent : D.
 Excellent job, cheers
(http://www.facebook.com/sharer.php?
u=https%
3A%
2F%
2Fwww.eduonix.com%
2Fblog% Ekom etuk
2Fweb- Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
programming- May 26th, mysql-database-using-php/?replytocom=14042#respond)
2016 (https://www.eduonix.com/blog/web-programming-
tutorials% tutorials/learn-submit-html-data-mysql-database-using-php/#comment-14042)
2Flearn-
submit-
html- I am a student of imfi ict academy uyo, please How can i
data- partition my site to have many columns and rows without using
mysql-
database- table?
using-
php%
2F&t=Learn%
20to%
20submit%
isaac
20HTML%Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
20data% August mysql-database-using-php/?replytocom=15633#respond)
25th, 2016 (https://www.eduonix.com/blog/web-programming-
20to%
20MySQL% tutorials/learn-submit-html-data-mysql-database-using-php/#comment-15633)
20database%
20using% Please send complate tutorial on connection of html to database
20php)


(http://twitter.com/share?
text=Learn% john colt
20to% Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
20submit% August mysql-database-using-php/?replytocom=15656#respond)
27th, 2016 (https://www.eduonix.com/blog/web-programming-
20HTML%
20data% tutorials/learn-submit-html-data-mysql-database-using-php/#comment-15656)
20to%
20MySQL% Guys Help this is my process.php
20database%
20using% 
20php&url=https%
3A% and this is my index.php
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 23 of 35

label
{
display:inline-block;
width:150px;
margin-bottom:10px;
}

Add Applicant

Add Applicant

Shares First Name:


(http://www.facebook.com/sharer.php?
Last Name:
u=https%
3A%
2F%
2Fwww.eduonix.com%
Passport Number:
2Fblog%
2Fweb-
programming-
tutorials% Date of Birth:
2Flearn-
submit-
html- Place of Issue:
data-
mysql-
database-
using- Date of Expiration:
php%
2F&t=Learn%
20to% Email:
20submit%
20HTML%
20data%
20to% and my database.php
20MySQL%
20database%
20using%
20php) but it does not connect or save to my data base. Am i doing
something wrong. please help

(http://twitter.com/share?
text=Learn%
20to%
20submit% ubot
20HTML%Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
20data% mysql-database-using-php/?replytocom=17986#respond)
November 11th, 2016 (https://www.eduonix.com/blog/web-programming-
20to%
20MySQL% tutorials/learn-submit-html-data-mysql-database-using-php/#comment-17986)
20database%
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 24 of 35

I think that what you said made a lot of sense. However, what
about this?
what if you composed a catchier post title? I mean, I don’t wish
to tell you how to run your blog, however what if you added
a post title that makes people want more? I mean Learn to
submit HTML data
to MySQL database using php is kinda vanilla.

You should look at Yahoo’s front page and watch how they
write
news headlines to get people interested. You might add a
related video or a related pic or two to
Shares
get readers interested about everything’ve written. Just my
 opinion, it might bring
(http://www.facebook.com/sharer.php?
u=https% your posts a little bit more interesting.
3A%
2F%
2Fwww.eduonix.com%
2Fblog%
2Fweb-
programming- arvind
tutorials%Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
mysql-database-using-php/?replytocom=18354#respond)
November 24th, 2016 (https://www.eduonix.com/blog/web-programming-
2Flearn-
submit- tutorials/learn-submit-html-data-mysql-database-using-php/#comment-18354)
html-
data- not work
mysql-
database-
using-
php%
2F&t=Learn%
20to% gaurav adhav
20submit% Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
20HTML% mysql-database-using-php/?replytocom=18809#respond)
December 5th, 2016 (https://www.eduonix.com/blog/web-programming-
20data% tutorials/learn-submit-html-data-mysql-database-using-php/#comment-18809)
20to%
20MySQL%
20database% I have to make a website in html.
20using% In which if the staff name and password correct then he can
20php)
add documents.
 So how to make database and how can I connect with it with
(http://twitter.com/share?
text=Learn% HTML file.
20to%
20submit%
20HTML%
20data%
20to% Antonina
20MySQL%Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
20database% mysql-database-using-php/?replytocom=19726#respond)
December 29th, 2016 (https://www.eduonix.com/blog/web-programming-
20using% 
20php&url=https% tutorials/learn-submit-html-data-mysql-database-using-php/#comment-19726)
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 25 of 35

1st
in process.php in the first two printscreens you don’t close the
php it supposed to be like that? if yes then i have error when
i’m running this file:
Notice: Undefined index: first_name in
C:xampphtdocsaddempprocess.php on line 4
Notice: Undefined index: email in
C:xampphtdocsaddempprocess.php on line 6

2nd
in the modification of process.php
“<?php
Shares
print_r($_POST); "
 my output is this: "Array ( ) "
(http://www.facebook.com/sharer.php?
u=https%
3A%
2F% 3rd
2Fwww.eduonix.com%
You don't mention to create a database; what records, what
2Fblog%
2Fweb- data type … these infos are missing from the first steps when
programming-
tutorials% you first tell to open phpmyadmin to see the results!
2Flearn-
submit-
html- 1st
data-
mysql- in process.php in the first two printscreens you don't close the
database- php it supposed to be like that? if yes then i have error when
using-
php% i'm running this file:
2F&t=Learn%
20to% Notice: Undefined index: first_name in
20submit% C:xampphtdocsaddempprocess.php on line 4
20HTML%
20data% Notice: Undefined index: email in
20to% C:xampphtdocsaddempprocess.php on line 6
20MySQL%
20database%
20using%
20php) 2nd
in the modification of process.php

"<?php
(http://twitter.com/share?
text=Learn% print_r($_POST); "
20to%
20submit% my output is this: "Array ( ) "
20HTML%
20data%
20to% 3rd
20MySQL%
20database% You don't mention to create a database; what records, what
20using% 
data type … these infos are missing from the first steps when
20php&url=https%
3A% you first tell to open phpmyadmin to see the results!
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 26 of 35

4th
in last insertion of data after executin index and then going to
process.php
" Parse error: syntax error, unexpected 'index' (T_STRING),
expecting ',' or ';' in C:xampphtdocsaddempprocess.php on line
19 "

Jay
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
Januarymysql-database-using-php/?replytocom=20203#respond)
3rd, 2017 (https://www.eduonix.com/blog/web-programming-

tutorials/learn-submit-html-data-mysql-database-using-php/#comment-20203)

Shares
Good concept regarding “How to insert data into database from
 HTML form”.
(http://www.facebook.com/sharer.php?
u=https%
3A%
2F%
2Fwww.eduonix.com%
2Fblog% Uday Pratap Singh
2Fweb- Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
programming- Januarymysql-database-using-php/?replytocom=20375#respond)
6th, 2017 (https://www.eduonix.com/blog/web-programming-
tutorials% tutorials/learn-submit-html-data-mysql-database-using-php/#comment-20375)
2Flearn-
submit-
html- thank you very much!!!
data-
mysql-
database-
using-
php% Atif
2F&t=Learn%
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
20to% Januarymysql-database-using-php/?replytocom=20916#respond)
17th, 2017 (https://www.eduonix.com/blog/web-programming-
20submit%
20HTML% tutorials/learn-submit-html-data-mysql-database-using-php/#comment-20916)
20data%
20to% Thank you very much for this query. Finally……..
20MySQL%
20database%
20using%
20php)
P'jones
 Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
(http://twitter.com/share?
Januarymysql-database-using-php/?replytocom=21216#respond)
26th, 2017 (https://www.eduonix.com/blog/web-programming-
text=Learn%
tutorials/learn-submit-html-data-mysql-database-using-php/#comment-21216)
20to%
20submit%
20HTML% Please folks, I’m just taking programming as a career and I’m
20data% loving it despite discovering the tasking part of it. For this I’m
20to%
20MySQL% beginning with web design and development, still a fresher in it
20database%
20using% I can say I am, but believing persistent practice makes perfect. 
20php&url=https%
Now, the issue I’m facing is, I added password to my MySQL
3A%
2F% from the console and I discovered my phpMyAdmin shows me
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 27 of 35

error anytime I try to access it. Please, any idea to come out of
this will be highly appreciated. WampServer is what I use for
more certainty in proffering solution. Thank you

santhosh
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
mysql-database-using-php/?replytocom=21711#respond)
February 9th, 2017 (https://www.eduonix.com/blog/web-programming-

tutorials/learn-submit-html-data-mysql-database-using-php/#comment-21711)

guys help me to find a solution for this problem:


i have an php document with html form
and i have date formated textbox
Shares
i want to upload that data into the database using php

(http://www.facebook.com/sharer.php?
u=https%
3A%
2F% gagan negi
2Fwww.eduonix.com%
Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
2Fblog% mysql-database-using-php/?replytocom=21945#respond)
February 16th, 2017 (https://www.eduonix.com/blog/web-programming-
2Fweb-
programming- tutorials/learn-submit-html-data-mysql-database-using-php/#comment-21945)
tutorials%
2Flearn- Parse error: syntax error, unexpected ‘>’ in
submit-
html- C:\xampp\htdocs\addemp\process.php on line 1
data- this error is displayed for process.php file . please give me the
mysql-
database- solution for this
using-
php%
2F&t=Learn%
20to%
20submit%
Christina Granvil
20HTML%Reply (https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-
20data% mysql-database-using-php/?replytocom=23180#respond)
March 8th, 2017 (https://www.eduonix.com/blog/web-programming-
20to%
20MySQL% tutorials/learn-submit-html-data-mysql-database-using-php/#comment-23180)
20database%
20using% That is the proper weblog for anyone who wants to search out
20php)
out about this topic. You realize so much its virtually
 exhausting to argue with you (not that I actually would want…
(http://twitter.com/share?
HaHa). You undoubtedly put a brand new spin on a subject
text=Learn%
20to% thats been written about for years. Great stuff, simply great!
20submit%
20HTML%
20data%
20to%
20MySQL%
 Post a comment
20database%
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 28 of 35

Message..

Name:

Email:
Shares


(http://www.facebook.com/sharer.php?
u=https% Website:
3A%
2F%
2Fwww.eduonix.com%
2Fblog%
2Fweb-
programming- Post comment.
tutorials%
2Flearn-
submit-
html-
data-
mysql-
database-
using-
php%
2F&t=Learn%
20to%
20submit%
20HTML%
20data%
20to%
20MySQL%
20database%
20using%
20php)


(http://twitter.com/share?
text=Learn%
20to%
20submit%
20HTML%
20data%
20to%
20MySQL%
20database%
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 29 of 35

Shares


(http://www.facebook.com/sharer.php?
u=https%
3A%
2F%
2Fwww.eduonix.com%
2Fblog%
2Fweb-
programming-
tutorials%
2Flearn-
submit-
html-
data-
mysql-
database-
using-
php%
2F&t=Learn%
20to%
20submit% (https://www.kickstarter.com/projects/1311831077/learn-
20HTML% 5-best-mobile-development-frameworks)
20data%
20to%
20MySQL%
20database%
20using%
20php)


(http://twitter.com/share?
text=Learn%
20to%
20submit%
20HTML%
20data%
20to%
20MySQL%
20database%
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 30 of 35

01 Database Programs ›
02 SQL Server ›
03 SQL Scripts ›
04 Database Management ›
05 Web-Based ›

Shares

 Join Eduonix Community


(http://www.facebook.com/sharer.php?
u=https%
3A%
2F% Receive monthly Freebies, Special Offers
2Fwww.eduonix.com%
2Fblog% and Exclusive Content.
2Fweb-
programming-
tutorials% Your Email
2Flearn-
submit-
html-
data-
mysql- Subscribe
database-
using-
php%
2F&t=Learn%
20to%
20submit%
20HTML% Recent Posts
20data%
20to%
20MySQL%
20database%  Learn About the Structure of ObjectId
20using% in MongoDB
20php)
(https://www.eduonix.com/blog/web-
 programming-tutorials/learn-
(http://twitter.com/share? structure-objectid-mongodb/)
text=Learn%
20to%
20submit%  Learn How to Build OS Module Utility
20HTML% Modules in NodeJS
20data%
20to% (https://www.eduonix.com/blog/web-
20MySQL% programming-tutorials/learn-build-
20database%
20using% os-module-utility-modules-nodejs/) 
20php&url=https%
3A% 
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 31 of 35

Learn How Puppet Is Used To Define


Infrastructure As Code
(https://www.eduonix.com/blog/system-
programming/learn-puppet-used-
define-infrastructure-code/)

 10 Awesome Ideas to Boost Your


Business Using Instagram
(https://www.eduonix.com/blog/marketing/10-
awesome-ideas-boost-business-using-
instagram/)

 Learn How To Auto-Increment


Shares Sequences in MongoDB

 (https://www.eduonix.com/blog/web-
(http://www.facebook.com/sharer.php?
programming-tutorials/learn-auto-
u=https%
3A% increment-sequences-mongodb/)
2F%
2Fwww.eduonix.com%
2Fblog%
2Fweb-
programming-
tutorials% Recent Comments
2Flearn-
submit-
html-
data-  Learn How to Build OS Module Utility
mysql- Modules in Node.js – Full-Stack Feed
database-
using- (https://fullstackfeed.com/learn-how-
php% to-build-os-module-utility-modules-
2F&t=Learn%
20to% in-node-js/) on Learn How to Build OS
20submit% Module Utility Modules in NodeJS
20HTML%
20data% (https://www.eduonix.com/blog/web-
20to%
20MySQL% programming-tutorials/learn-build-
20database% os-module-utility-modules-
20using%
20php) nodejs/#comment-23976)

  Hadoop Training In Hyderabad on A


(http://twitter.com/share? real time testing of Big Data with
text=Learn%
20to% Hadoop
20submit% (https://www.eduonix.com/blog/bigdata-
20HTML%
20data% and-hadoop/a-real-time-testing-of-
20to% big-data-with-hadoop/#comment-
20MySQL%
20database% 23916)
20using% 
20php&url=https%  Daryl Berryhill on Learn How to
3A%
2F% Build a Tabs Component APP in
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 32 of 35

Angular 2
(https://www.eduonix.com/blog/web-
programming-tutorials/learn-build-
tabs-component-app-
angular-2/#comment-23514)

 Junior on Learn To Create A Web


Browser Application Using Android
Studio
(https://www.eduonix.com/blog/android-
tutorials/learn-create-web-browser-
application-using-android-
studio/#comment-23257)
Shares

  Dekyou on Top 15 websites and apps


(http://www.facebook.com/sharer.php?
built with AngularJS
u=https%
3A% (https://www.eduonix.com/blog/web-
2F% programming-tutorials/top-15-
2Fwww.eduonix.com%
2Fblog% websites-and-apps-built-with-
2Fweb-
programming- angularjs/#comment-23186)
tutorials%
2Flearn-
submit-
html-
data- Categories
mysql-
database-
using-
php%  Android Tutorials
2F&t=Learn%
20to% (https://www.eduonix.com/blog/category/android-
20submit% tutorials/)
20HTML%
20data%
20to%  Bigdata and Hadoop
20MySQL% (https://www.eduonix.com/blog/category/bigdata-
20database%
20using% and-hadoop/)
20php)
 Database
 (https://www.eduonix.com/blog/category/database/)
(http://twitter.com/share?
text=Learn%  HTML 5 Tutorials
20to%
20submit% (https://www.eduonix.com/blog/category/html5-
20HTML% tutorials/)
20data%
20to%
20MySQL%  Infographics
20database% (https://www.eduonix.com/blog/category/infographics/)
20using% 
20php&url=https%
3A% 
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 33 of 35

Interviews
(https://www.eduonix.com/blog/category/interviews/)

 iPhone Apps
(https://www.eduonix.com/blog/category/iphone-
apps/)

 iPhone Tutorials
(https://www.eduonix.com/blog/category/iphone-
tutorials/)

 Java Programming
(https://www.eduonix.com/blog/category/java-
programming-2/)
Shares

 jQuery Tutorials

(http://www.facebook.com/sharer.php?
(https://www.eduonix.com/blog/category/jquery-
u=https% tutorials/)
3A%
2F%
2Fwww.eduonix.com%  Marketing
2Fblog% (https://www.eduonix.com/blog/category/marketing/)
2Fweb-
programming-
tutorials%  Mobile Programming
2Flearn- (https://www.eduonix.com/blog/category/mobile-
submit-
html- programming/)
data-
mysql-  Networking and Security
database-
using- (https://www.eduonix.com/blog/category/networking-
php% and-security/)
2F&t=Learn%
20to%
20submit%  Newsletters
20HTML% (https://www.eduonix.com/blog/category/newsletters/)
20data%
20to%
20MySQL%  Perl Programming
20database% (https://www.eduonix.com/blog/category/perl-
20using%
20php) programming/)

 PhoneGap

(http://twitter.com/share? (https://www.eduonix.com/blog/category/phonegap/)
text=Learn%
20to%  Press Release
20submit%
20HTML% (https://www.eduonix.com/blog/category/press-
20data% release/)
20to%
20MySQL%
20database%  Shell Scripting
20using% (https://www.eduonix.com/blog/category/shell- 
20php&url=https%
3A% scripting/)
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 34 of 35

 Software Development
(https://www.eduonix.com/blog/category/software-
development/)

 System Programming
(https://www.eduonix.com/blog/category/system-
programming/)

 Uncategorized
(https://www.eduonix.com/blog/category/uncategorized/)

 Web Development Tutorials


(https://www.eduonix.com/blog/category/video-
tutorials/web-development-tutorials/)
Shares

 Web Programming Tutorials



(http://www.facebook.com/sharer.php?
(https://www.eduonix.com/blog/category/web-
u=https% programming-tutorials/)
3A%
2F%
2Fwww.eduonix.com%  Windows Phone Tutorials
2Fblog% (https://www.eduonix.com/blog/category/windows-
2Fweb-
programming- phone-tutorials/)
tutorials%
2Flearn-  Windows Server
submit-
html- (https://www.eduonix.com/blog/category/windows-
data- server/)
mysql-
database-
using-
php%
2F&t=Learn%
20to%
20submit%
20HTML%
Copyright ©2016 Eduonix Learning Solutions Pvt Ltd | Privacy Policy
20data%
20to%
20MySQL%
(http://www.eduonix.com/blog/privacy-policy/) | Terms & Conditions
20database%
20using%
20php)
(http://www.eduonix.com/blog/terms-conditions)

 
(http://twitter.com/share?
text=Learn% (https://www.linked
20to%
20submit%
20HTML% learning-
20data%
20to% solutions-
20MySQL%
20database%
20using%    pvt-
20php&url=https%
3A% (http://www.facebook.com/eduo
(https://twitter.com/Tutor_
ltd)
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17
Learn to submit HTML data to MySQL database using php Page 35 of 35

Shares


(http://www.facebook.com/sharer.php?
u=https%
3A%
2F%
2Fwww.eduonix.com%
2Fblog%
2Fweb-
programming-
tutorials%
2Flearn-
submit-
html-
data-
mysql-
database-
using-
php%
2F&t=Learn%
20to%
20submit%
20HTML%
20data%
20to%
20MySQL%
20database%
20using%
20php)


(http://twitter.com/share?
text=Learn%
20to%
20submit%
20HTML%
20data%
20to%
20MySQL%
20database%
20using% 
20php&url=https%
3A%
2F%
2Fwww.eduonix.com%

https://www.eduonix.com/blog/web-programming-tutorials/learn-submit-html-data-mys... 26-03-17

You might also like