Thanks a ton to all. That did the trick.
Greg
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 1:47 PM
To: Jason Stechschulte; Greg Kopp; [EMAIL PROTECTED]
Subject: Re: [PHP] Undefinded Index on Mysql Result under Win98/PWS
Addressed to: Jason Stechschulte <[EMAIL PROTECTED]>
Greg Kopp <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from Jason Stechschulte <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]