|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Forms and Tables
Can anyone help me. I'm looking for some sort of script that I can use. The basic concept is when you press the submit button on a form it automatically enters the data onto a table on another page without erasing the previous data on the table.
Thanks |
|
#2
|
||||
|
||||
|
a databse table or an HTML table?
__________________
CHornJr "One day I'll know what I am doing" ![]() My Blog Suanhacky Lodge #49 Rebel Squadrons |
|
#3
|
|||
|
|||
|
wats the difference???
|
|
#4
|
|||
|
|||
|
I need a form that when you click submit it loads it onto a existing table on another page without erasing the old information that was on the table be4 hand
|
|
#5
|
||||
|
||||
|
You will need to learn a server-side language, and create a database to store the data in. There are several tutorials on this site for beginners in PHP or ASP which outline the above process.
|
|
#6
|
||||
|
||||
|
Or are you talking about a "copy address" type setup, like when you go to order something online and they ask for a billing and mailing address. Usually they put a tick box on the billing address which allows you to copy the mailing details into the form fields for billing. This process is done via Javascript, using the DOM.
e.g. Code:
var strAddress = document.frmMailing.streetaddress.value document.frmBilling.streetaddress.value = strAddress |
|
#7
|
|||
|
|||
|
No not that, its a regular form that when your finished filling out the form and you click submit. It automatically enters it into a table on another page without erasing the previous data.
|
|
#8
|
||||
|
||||
|
You need to define what you keep referring to as a table. I'm guessing you mean a form. If so, just follow the example I gave you in my last post.
|
|
#9
|
|||
|
|||
|
Table
ok i have a form here http://perpetualdeath.netfirms.com/join.html and i want the entries to enter here http://perpetualdeath.netfirms.com/members.html without erasing the old data. so it keeps adding on to that table.
|
|
#10
|
||||
|
||||
|
Ahh - ok then - in this case you will need to learn a server-side language like ASP or PHP. You will also need to create a database to store the data entered on the form. You will then need to create a page that pulls these records out of the DB and displays them in table format.
|
|
#11
|
|||
|
|||
|
do u kno of any links that might have it already done??? or examples??? and any other page that might help. o yea is there a specific name for wat this is called thanks u been a great help
|
|
#12
|
||||
|
||||
|
Well, you will need to pick a server-side language first. The task you are after (read/write from a database) is one of the first kind of things you learn once you get past the programming basics. Here's a link to a great site I learnt a lot from when I was starting out in ASP:
http://www.4guysfromrolla.com/webte....shtml#Beginner I'm not sure where good PHP resources are... I'd hazard a guess at php.net. Google "ASP beginner read write database"... you get the idea. |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Development > Forms and Tables |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|