You are here: Help with form and post! « All PHP « IT news, forums, messages
Help with form and post!

Posted by ivo on 05/31/06 18:00

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация