I get an error "undefined offset 1 in: [the line below]"
list($message,$span)=explode(":",$cells[$i]);
any idea what could be causing this? I am trying to get someone else's code to work (from one of the articles here).
thanks
it means litterally 'undefined offset', wich is to say undefined index, or the index is not set.
$test[0] = '0'; $test[2] = '2'; $test[3] = '3'; $test[4] = '4';
echo $test[1];
'undefined offset'
the element [1] was never set. its undefined.
Chris Lee lee@mediawaveonline.com
thanks Chris - that helped!