Re: Undefinded Index on Mysql Result under Win98/PWS

From: Date: Fri, 23 Feb 2001 18:47:12 +0000
Subject: Re: Undefinded Index on Mysql Result under Win98/PWS
Groups: php.general 
Request: Send a blank email to php-general+get-41350@lists.php.net to get a copy of this message
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

« previous php.general (#41350) next »