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....

Donarb is right; you do not need to use getenv("QUERY_STRING") in PHP. It's much simpler than that.

If you have an element like:

<INPUT TYPE="text" NAME="country">

and the user enters "Holland" and submits the form, your receiving script will automatically have a variable called $country with the value "Holland".

You'll need to validate the data to make sure that some cracker isn't trying to slip illegal characters into your database (like, perhaps, backslashes or apostrophes). You can do that with the addslashes() function:

$country = addslashes ($country);

See:
http://www.php.net/manual/function.addslashes.php3

You can then use this validated variable in your SQL statement:

$sql = "UPDATE CustomerInfo SET Country='$country' WHERE RecID=$ID";

or something like that (depending, of course, on what kind of query you're attempting to run).

Thanks for your help, I need specific info as to how to encode it into the form or how to directly input the data from the form. I tried <form enctype="multipart/form-data" method="post" action="<?php echo $PHP_SELF ?>
can you please help me, the error says that the url cannot be found.