Posted by Craig Morrison on 06/08/06 22:50
I'm getting this:
[client 192.168.5.50] PHP Notice: Undefined index: D1 in
/var/www/html.....
From this line of code:
$id_option = $_POST['D1'];
Which is posted by this:
<form target="_blank" method="POST" action="mailchart.php" name="mail_data">
<input type="hidden" name="D1" value="<? echo $id_option; ?>">
<input type="submit" value="View Chart"></p>
</form>
My question is why?
I *am* getting the correct value for $_POST['D1'] and at this point in
time am really quite confused because that notice is getting thrown.
[root@... ~]# php -v
PHP 4.3.11 (cgi) (built: Nov 8 2005 06:24:40)
[root@... /]# uname -a
Linux ... 2.6.12-2.3.legacy_FC3 #1 Sun Feb 19 10:47:10 EST 2006 i686
i686 i386 GNU/Linux
Thanks..
Craig
[Back to original message]
|