Author |
Message |
30/10/2005 14:08:38
|
Robbin
Newbie
Joined: 30/10/2005 13:59:54
Messages: 3
Offline
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1" />
<title>Oostkerke Soccer Team</title>
</head>
<body>
<form action="Oostkerke" method="post/get">
Who would you prefer as player of the year ? <br/>
<input type="checkbox" id="kevin" value="V" checked=”checked” />Kevin Degrande
<br/>
<input type="checkbox" id="david" value="D" />David Duquese
<br/><br/>
Who has the best technical moves on the field ? <br/>
<select id="moves" size="3">
<option value="david">David Duquese </option>
<option value="kevin">kevin Degrande</option>
<option value="k">Kurt Vandoorne</option>
<option value="J">Jeroen Degaarne</option>
<option value="A">Aamer Hicham</option>
</select>
<br/>
Name: <input type="text" id="name" size="30" /><br />
<input type="submit" id="button" value="Send" />
</form>
</body>
</html>
This is a form I wanted to write for a project about our schoolteam.
They have to fill in a questionary , and then click the Send button to send me the results. How can I get them to send it to me ?
I know you got to know some PHP to be able to write it , but I don't , so that's why I am asking for some help.
So any help would be welcome, someone bit experienced writing the stuff I can't.
Thanks a lot
|
|
30/10/2005 14:31:31
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
You don't need PHP to create the form just to process the submitted data. You also need to decided if you are going to send the data using GET or POST. Get puts the data into the url whilst POST sends it differently. Also how are you intending to store the data?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
30/10/2005 15:15:20
|
Robbin
Newbie
Joined: 30/10/2005 13:59:54
Messages: 3
Offline
|
Damn
I suck at this ...
Is there anyone who can help me at all ?
I don't know the difference between post and get , but I'd take get
It's a simple site I'd make, only to be used for like 100 people or so.
Would simply to be to vote who they prefer in the team , and then just send the answers to me in an email which I can put in a wordfile then.
Problem is that I know nothing about these codes etc.
The code I got a friend even wrote for me.
|
|
30/10/2005 20:54:17
|
Robbin
Newbie
Joined: 30/10/2005 13:59:54
Messages: 3
Offline
|
This is what I got untill now for someone else, but there are still some mistakes in it.
Can you help ?
|
|
31/10/2005 00:52:05
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
it's late and I'm tired.
Use
Also don't worry about thisbecause the emails are only for you and they will only be text.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
|