Jump to content

Submit Buttons And Sending Form Data


confused and dazed

Recommended Posts

I am new to web programming and I think I am missing a simple concept that is keeping me from going forward. I have a hosting account with Go Daddy and I want to send a bunch of data to my server or to an e-mail address. I have a bunch of buttons with values populated from an "onclick" command and I want all that button data to be sent somewhere. This is where I cannot figure out how to proceed. Please help.

Link to comment
Share on other sites

you need to handlle the data using php or any server side language. check here http://w3schools.com/html/html_forms.asp in form's action attribute you will sepecify where the data will be sent and method will tell how via get or post. html or js cant send email you will need server side language for it.

Link to comment
Share on other sites

yes you can create it in notepad. but it needs a server installed in your compuer to run the file. did you check the w3schools.com/asp tutorials for start over?btw the examples in above link uses .asp that does not mean its obvious to use .asp. as w3schoos tutorial part is written in .asp so it is sending to a .asp file. it could be any other file which knows what to do with that data to process it. If you are not specialy leaned toward asp and just planing to learn any server side language. I will say to start with php.

Link to comment
Share on other sites

you can start over from hereat first form here http://w3schools.com/php (tutorial ,easy to catch up)in depth info and the manual is here http://php.net/language

Link to comment
Share on other sites

This tutotial is going to be great! Thanks. I started going through it and I think there is one last bit of information I am missing. How do I test the code I am writing? I tried to load the .php file off my local drives to my server side and it will not load. It appears I can only load .html files on my server side. Am I missing something?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...