Forum Moderators: coopster
<form action="next-page.php" method="post">
<input type="text" name="myvariable" value="something">
<input type="submit" value="Click"> it will send me to
next-page.php but the variable $myvariable will remain empty. Can somebody help me out on this?
Thanks
it worked. how come that the other way without
$_POST always worked fine on several servers where I have my websites hosted. tanks
roberto (montbazin)
When it is turned on, you can access form variables the way you mentioned in the first post. When it is turned off, you have to use the GET and POST arrays --- $_GET['somevar'], $_POST['somevar'], $_SESSION['somevar'], etc.
-sned