Re: Undefinded Index on Mysql Result under Win98/PWS
| From: | Jason Stechschulte | Date: | Fri, 23 Feb 2001 17:59:05 +0000 |
| Subject: | Re: Undefinded Index on Mysql Result under Win98/PWS | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41345@lists.php.net to get a copy of this message | ||
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.
--
Jason Stechschulte
jpstech@unoh.edu
--
I knew I'd hate COBOL the moment I saw they'd used "perform" instead of
"do".
-- Larry Wall on a not-so-popular programming language