Re: passing a variable
| From: | Rasmus Lerdorf | Date: | Fri, 21 Jul 2000 18:55:17 +0000 |
| Subject: | Re: passing a variable | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-1411@lists.php.net to get a copy of this message | ||
> I tried out to pass a variable through a form with a submit button to
> another file and it's not working
>
> echo "<form method=POST action=choix.php>
> ...
> echo "Last Name: <Input TYPE=Text Name=\lname\ > <BR>";
>
> <!-- choix.php -->
> echo $lname;
> $h = "hello";
>
> it displays hello but not the the varible form the form ! What do I do
> wrong?
Get rid of those weird \'s before and after lname
-Rasmus