Your form is okay. What you need to do is to create your database on what you will save the submitted data and also to point your form 'action' to a simple php script what connect to your database and insert on this the submitted data.
1. Your Form (for example send.html):
<h4>Input here</h4>
<form action="processing.php" method="post">
<input type="text" name="color" id="color"/>
<input type="text" name="size" id="size"/>
<input type="submit" value="Click"/>
</form>
2. The script (processing.php)
<?php
$hostname_example = "localhost";
$database_example = "your_database_name";
$username_example = "your_database_username";
$password_example = "your_database_password";
$example = mysql_pconnect($hostname_example, $username_example, $password_example) or trigger_error(mysql_error(),E_USER_ERROR);
mysql_select_db($database_example, $example);
$result = mysql_query ("INSERT INTO your_database_table_name (color, size) VALUES('$color', '$size')");
?>
3. For the above example on the datbase you will need to crete one table and to add to this the below fields:
- color
- size



LinkBack URL
About LinkBacks




, but I think I mislead, I don't want to permanently store the info, just hold it for a while, collect some text from the database and substitute the inputted text where HHHH and EEEE appear ~
Bookmarks