croupier
09-03-2005, 10:28 AM
I've tried all sort to get this working but i'm stumped. All I want to do is setup a PHP page with a form which passes the form data back to itself
eg.
<?
echo "*".$test."*";
?>
<form action="" method="get" name="form1">
<input type="hidden" name="page" value="formtest">
<input type="text" name="test">
<input type="submit" value="submit" name="submit">
</form>
I think it must be something to do with the globals but I've tried all sorts and can't get it to work (the page variable is working fine but I can't get hold of the test variable, although it's showing in the URL)
Help!
eg.
<?
echo "*".$test."*";
?>
<form action="" method="get" name="form1">
<input type="hidden" name="page" value="formtest">
<input type="text" name="test">
<input type="submit" value="submit" name="submit">
</form>
I think it must be something to do with the globals but I've tried all sorts and can't get it to work (the page variable is working fine but I can't get hold of the test variable, although it's showing in the URL)
Help!