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

From: Date: Sun, 09 Aug 2009 23:57:06 +0000
Subject: Re: reason for a "Notice:.." on one site but not another? (Same code.)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-296533@lists.php.net to get a copy of this message
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

« previous php.general (#296533) next »