RE: [PHP] Undefinded Index on Mysql Result under Win98/PWS

From: Date: Fri, 23 Feb 2001 19:42:23 +0000
Subject: RE: [PHP] Undefinded Index on Mysql Result under Win98/PWS
Groups: php.general 
Request: Send a blank email to php-general+get-41364@lists.php.net to get a copy of this message
Thanks a ton to all. That did the trick. Greg -----Original Message----- From: php3@developersdesk.com [mailto:php3@developersdesk.com] Sent: Friday, February 23, 2001 1:47 PM To: Jason Stechschulte; Greg Kopp; php-general@lists.php.net Subject: Re: [PHP] Undefinded Index on Mysql Result under Win98/PWS Addressed to: Jason Stechschulte <jpstech@unoh.edu> Greg Kopp <gkopp@gregkopp.com> php-general@lists.php.net ** Reply to note from Jason Stechschulte <jpstech@unoh.edu> Fri, 23 Feb 2001 12:59:05 -0500 > > On Fri, Feb 23, 2001 at 12:20:19PM -0500, Greg Kopp wrote: > > I am using PHP4 + MySQL + PWS + Windows 98. > > We are experiencing TWO problems: > > > > First, unless we put quote marks around the index so it reads > > $AppResult['AppDOB'], we get an undefined constant. This doesn't happen on > > our Linux/Apache web server. > > > > Second, if the field AppDOB contains a NULL value, PHP barks that there is > > an undefined index. It appears that it won't even create the index. > > I think you want to check the php.ini file. I believe error_reporting > can be changed to something less restrictive. That might be good for a temporary solution, but not having quotes there ia a potential bug waiting to happen. That is why it there is a warning about it. Rick Widmer Internet Marketing Specialists http://www.developersdesk.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#41364) next »