Online Form Help

brownie6

New Member
Messages
6
Reaction score
0
Points
0
I am pretty new to the world of HTML and I need some help with an online form. I am finding problems with getting the form data (after its been completed by a user) onto the server... Does anybody know how to do this? and also where to get the data from when it has been sent to the server

many thanks

ste
 
Last edited:

port5900

New Member
Messages
150
Reaction score
0
Points
0
so you want to be able to submit data and then have it posted on to your web site like this forum does here? The easiest way if you dont want to get to much into programing is to use a Content Management System(CMS) Which will have most of the programing already setup. Drupal and Joomla are two of the most used. I'm not sure if you know how posing and getting the data works. But
its some thing like this the client(you) submits the data with a HTML form, then whats called a handler script(PHP) inserts the data into a MySql Database. Then data is then saved there till requested by another page(or you.)
 

marshian

New Member
Messages
526
Reaction score
9
Points
0
Basicly, if your form is like this:
HTML:
<form action="dosomething.php" method="post">
<input type="textfield" name="text1" />
<input type="textfield" name="text2" />
<!-- etc -->
</form>

then you should have a page called 'dosomething.php' and you can see what the user typed in the variable $_POST.
So something like this:
PHP:
You typed in field 1: <?php $_POST["text1"]; ?>
You typed in field 2: <?php $_POST["text2"]; ?>
<!-- etc -->

That's the easyest example of forms and php I can come up with, but I suppose you'll need to learn some php before you can really do what you want to achieve.

Hope that helped,

Marshian
 

deadimp

New Member
Messages
249
Reaction score
0
Points
0
Google "php forms" and you ought to find some relevant tutorials.
 

tittat

Active Member
Messages
2,478
Reaction score
1
Points
38
try e107 its an cms.....
or do u only want to get a specific script to send forms?
 
Top