I'm moving some scripts from a php4 to a php5 platform.
I'm receiving error messages like:
Notice: Undefined index: 1 in /home/apache.......
I'm referencing the array of values as
which was valid up until today.
I've checked the array and the values are indeed there in their proper positions. But now PHP is complaining that I'm referencing the array incorrectly?
Is there a new method for requesting array elements or is my error reporting level to loose?
Thanks,
D.
D.E.R. Management - IT Project Management Consulting
I'm receiving error messages like:
Notice: Undefined index: 1 in /home/apache.......
I'm referencing the array of values as
Code:
print $matches[1];
I've checked the array and the values are indeed there in their proper positions. But now PHP is complaining that I'm referencing the array incorrectly?
Is there a new method for requesting array elements or is my error reporting level to loose?
Thanks,
D.
D.E.R. Management - IT Project Management Consulting