Using PHP 4 with this code:
if ($csvfile = fopen($csvpath, "r")) {
while (!feof ($csvfile))
{
$filestring = fgets( $csvfile , 255);
}
}
I get a parse error on the line :
$filestring = fgets( $csvfile , 255);
Any ideas why this is happening?
replacing it with fread also returns a parse error.
Please reply to me directly as the digest takes awhile to get to me.
--
Without deviation from the norm, progress is not possible. - Frank Zappa
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php