RE: [PHP] passing values
| From: | Hunter, Ray | Date: | Wed, 13 Mar 2002 13:44:51 +0000 |
| Subject: | RE: [PHP] passing values | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88339@lists.php.net to get a copy of this message | ||
Are you using the post form method to post this variable to the next page.
The value $_POST['inp'] is not present or set...there is a null value there.
You will need to set the value with a post inorder to access it with the
predefined variable $_POST...
Thank you,
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-----Original Message-----
From: John Gurley [mailto:john_g83@hotmail.com]
Sent: Wednesday, March 13, 2002 6:43 AM
To: php-general@lists.php.net
Subject: [PHP] passing values
this is still not working for passing a value from one page to another:
<?php
echo '
<input name="inp" type="hidden" value="'. $_POST['inp'].
'">
';
?>
When I look at the source this appears:
<input name = "inp" type = "hidden" value = "">
which I take to mean that it does not know what $inp is. could it be
something with my browser, or am I still doing something wrong (I wouldn't
be a bit surprised)
Thanks
John
_________________________________________________________________
Join the world's largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php