Help with form and post!
- From: ivo <nomail@xxxxxxxx>
- Date: Wed, 31 May 2006 20:00:16 +0200
Hope you can help me :P
I'm coding an html form with some php vars. Something like this doesn't work:
<form action="./correct.php" method="post">
(xxxxx) <input type="hidden" name="preg1" value="'. $preg .'">
<input submit.....>
</form>
And then in correct.php:
echo $_POST["preg1"]
But if I substitute the line (xxxxx) with this it works!
<input type="hidden" name="preg1" value="sometexthere">
What can I do to make it works using $preg var??
Thanks and regards
.
- Follow-Ups:
- Re: Help with form and post!
- From: Martin Jay
- Re: Help with form and post!
- Prev by Date: Re: Excel export problem in IE
- Next by Date: LF: PHP Coder for Registration and admin project
- Previous by thread: Excel export problem in IE
- Next by thread: Re: Help with form and post!
- Index(es):