From: Jose [mailto:[EMAIL PROTECTED]]

$temp[]=file($y); \\ To load the file into the array.
-------------------
file() returns an array! So, you ended up with an array ($temp) with element
0 an array (returned from file() ). Read the manual very carefully ...

You probably meant to say

$temp=file($y); // To load the file into the array.

(watch those '//'s, too!)

mark C.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to