Re: [PHP-WIN] PHP Fatal error: Call to undefined function: array()

2004-03-04 Thread Frank M. Kromann
Hi Jim, Array inexes uses [] and not (). Try this print $out[1]; print $out[2]; You might also want to start at index 0. - Frank > I'm getting the above error when either attempting to print or assign > the value of a array element to a variable, after using pre

[PHP-WIN] PHP Fatal error: Call to undefined function: array()

2004-03-04 Thread Jim MacDiarmid
I'm getting the above error when either attempting to print or assign the value of a array element to a variable, after using preg_match(). === Watch for text wrapping === $URL_Filter = "/\s+Trav[0-9]\.([a-zA-Z0-9\:\/\/\.]+)\.\.[a-z0-9]+\sHAS\s([0-9]+)\sspac es?/"; foreach ($outArray as $line){