Arithan
03-04-2003, 07:51 PM
My web server doesn't store form values!
I used the following test script:
<?php
if(!isset($TestFeild))
{
//The form hasn't been submitted yet
//Show it
?>
<form method="post" action="form_test.php">
<input name="TestField" type="text">
<input name="submit" type="submit" value="Submit">
</form>
<?php
}
else
{
//Show results
echo "You have entered " . $TestField . " into the field";
}
?>
When you type something into the textbox and submit the page is shown again!
Why? I assume this is a configuration problem. Can someone help me please!
I used the following test script:
<?php
if(!isset($TestFeild))
{
//The form hasn't been submitted yet
//Show it
?>
<form method="post" action="form_test.php">
<input name="TestField" type="text">
<input name="submit" type="submit" value="Submit">
</form>
<?php
}
else
{
//Show results
echo "You have entered " . $TestField . " into the field";
}
?>
When you type something into the textbox and submit the page is shown again!
Why? I assume this is a configuration problem. Can someone help me please!