| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Oct 2006
Posts: 33
|
Forms
can some one help me build a php form processor that will store the form input the form so it can be used in a html table. I have the form all done @ http://wines.guthnur.net/sheet.html can anyone point me in the right direction? thanks. |
|
|
|
|
|
#2 (permalink) |
|
Spare Parts
Join Date: Jan 2005
Location: Bracknell Forest
Posts: 4,961
|
If you want to store the data you will need mysql support on your webhosting. Then create a database to receive the data. Then the code to connect to the db and code to write a new record to the db. To display the contents to the table you will need again to connect to the db and then code to extract rows from the db and then build <tr><td> rows as the data loops. |
|
|
|
#5 (permalink) |
|
Spare Parts
Join Date: Jan 2005
Location: Bracknell Forest
Posts: 4,961
|
Send the form to the next page and display the data there is that what you mean? If so first you will need submit button on that form. You will need to put a form around the form elements you have created. Make the form action showsheet.php for example. Now to display the passed values on showsheet.php (must be .php) you need to use PHP echo like this anywhere within your html. <?php echo "$brandname1"; ?> |
|
![]() |