Re: [PHP] Hide the undefined offset error for the array?

2002-07-30 Thread Rasmus Lerdorf
Your default error reporting level must be set different on your Windows box. If you turn off E_NOTICE warnings on your Windows box it will act the same as your Linux box. But, in general, to write E_ALL clean code you would check if each exists first, or swallow the errors if you know that

RE: [PHP] Hide the undefined offset error for the array?

2002-07-30 Thread John Holmes
I have one of the website on windows and I get the undefined offset error, I don't have that problem on UNIX / Linux. Anyone know what method would work?? Here's the script! In this case, the $raw_data array is empty, so window complain of the empty data by displaying hte error message,