Hi,
Have a really simple form that has a text box and a submit button. Then have a basic script that takes this value and displays it. The script is as follows: -
<?
if(isset($POST['mybutton'])) {
echo "Great! You clicked the button!\n";
echo "<BR>You typed <b>" . $POST['mytextbox'] . "</b> in the textbox.\n";
} else {
echo "You clicked here without filling out the form\n";
}
?>
This works fine locally, the script returns the value of 'mytextbox'. However when I upload to my website the script does not work. I don't change anything, it simply does not return the value.
Is this something to do with my webhost? As it works without trouble locally?
Any help would be gratefully received
Andy Black