| Share this post! | Vote this! |
|
n this tutorial we will be working with PHP and MySQL to insert the data that was inserted into the text boxes on the Dynamically Add Textbox to Site tutorial.
We will collect the data and insert the values into a database. To
start we need to make sure our file that we are using the make this data
is called insert.php (as we named it in the last tutorial.) This file
will be called when you click the “Add Invoice” button.
<?php
$conn = mysql_connect ("localhost","username","password") or die
('cannot connect to database error: '.mysql_error());
mysql_select_db ('test'); more...




0 comments:
Post a Comment