Re: Passing form value into another form value?

From: Date: Mon, 30 Jun 2003 05:31:51 +0000
Subject: Re: Passing form value into another form value?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-153368@lists.php.net to get a copy of this message
Miranda, Joel Louie M wrote:
This is what I have made, im not sure if its correct. --- <form action"" method="GET" name=""> enter name: <input type="text" name="name"><br> enter email: <input type="text" name="email"> <?php $value_name = $_post['name'] $value_email = $_post['email'] ?> <br><br> <input type="submit" value="Collect Data"> </form> --- Believe it or not, creating a variable called $value_* isn't going to magically set an input box's value. Did you even read the example?!
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#153368) next »