echo "val = $val<P>";
list($mySection, $myDisplay) = explode('|', $val);
echo "mySection = $mySection and myDisplay = $myDisplay<P>";
In using PHP 4.3.6 here are my results:
val = image|Image Maintenance
mySection = image and myDisplay = image
I narrowed down the problem to this:
$blahArray = explode('|', $val);
print_r($blahArray);
$blahArray = split('|', $val);
print_r($blahArray);
Nothing prints out, the array $blahArray is never set, not even to an empty array. No error messages nor warnings result in this.
Has anyone had any similar problems with PHP 4.3.6 or am I just the "lucky one"? If so, is this an undocumented bug in 4.3.6 (all I could find in www.php.net was that there was a negative limit to explode() ).
Phil