Hello Julie
Have you checked what is passed in your post / get request???
A Simple way of doing this is using a script similar to this one
<?PHP
while(list($key, $value) = each($_POST)) // use $_GET for get
request
{
echo '<br>'.$key.'='.$value; // this prints to the
browser
}
?>
This will show you a simple list of all variables being passed to your
script. I had a problem once with forms that for empty fields the
variables were set to
contain an empty string so a call to isset($var) still returns true. Not
sure how this happend or why but it did...
If you run the above script you can at least see if the form returns the
variables that are set and what they contain.
Before I forget don't run this script before your header() or else you
will get an error stating that headers have allready been send.
Hope it helps
Stefan Langer
P.S.: As stated before for security reasons it is better to rely on $_POST
and $_GET global arrays and register_globals turned off.