Re: reason for a "Notice:.." on one site but not another? (Same code.)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Butler wrote:

>         if($_POST['UserWishesDateRange']) {  //--line 79
>             echo'submitted';
>         } else {
>             echo'NOT submitted';
>         }

Try this instead:

if (isset('UserWishesDateRange'])) {
   // [...stuff goes here...]
}

James
-- 
"Black holes are where God divided by zero." --Steven Wright

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux