Undefined offset error in Php

Undefined Offset  error in Php occurs sometimes when these conditions satisfy

a)When there are empty variables in the script

b)and when the Error Reporting is set too much in Php.ini

If you do n’t want the error to display then you can simply set

ERROR_REPORTING(0);

at the top of the script which would turn of all Error Reporting.. or otherwise you can just edit php.ini with lesser Php error Reporting configurations instead of E_ALL

you can see more about this here http://www.php.net/error_reporting

This entry was posted on Tuesday, February 24th, 2009 at 9:52 pm and is filed under Php. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Post a Comment