Why can't i get this code to work?
I want it to show what has been written in the textfield.
<? print($text); ?>
<form action=\"<? $PHP_SELF ?>\" method=\"get\"> <input type=\"text\" name=\"text\"> <input type=\"submit\" value=\"SUBMIT\"> </form>
<form action="<? $PHP_SELF ?>" method="get"> <input type="text" name="text"> <input type="submit" value="SUBMIT"> </form>
...silly rabbit
dosn't work 🙁
you're right, you need an echo in there...
<form action="<? echo $PHP_SELF; ?>" method="get"> <input type="text" name="text"> <input type="submit" value="SUBMIT"> </form>
still a no go!
Nope, you must be doing something else there because I copied and pasted that code and tested it exactly as it is in my last post and it worked just fine.