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


-----Original Message-----
From: John Gurley [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, March 13, 2002 6:43 AM
Subject: [PHP] passing values

this is still not working for passing a value from one page to another:

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)


Join the world's largest e-mail service with MSN Hotmail.

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to