Parse error: syntax error, unexpected ')', expecting ';'
this is on line 5.
<?php
function read_news($filename,$max_words)
{
$file = file($filename ".txt");
for($a = 1; $a < $max_words, $a )
{
echo $file[$a] . " ";
}
}
?>
Much Appreciated,
Aric
Tags: