November 7th, 1999, 02:20 PM
Time spent in forums:
This is basicly done like this:
The form sends it values like this to the action url:
This would be if the textinputs in your html form where name and country.
In php you can get the so called query string (the part after the ?) into a variable using this syntax:
$query = getenv("QUERY_STRING");
now $query will contain this:
Not really handy yet... But by using the explode function, you can get something usefull out of it:
$values = explode("&", $query);
$name = explode("=", $values);
$name = $name;
$country = explode("=", $values);
$country = $country;
Now $name has the value dirk and $country holland...
Now you want this in your database.. depends very on what kind of database you use.. I suggest you read the manual found on devshed.com carefully, also on the subject how to get the output from html forms into php3....
Hope this gets you started...