i want to store data in a file.
for example.
test.txt contains:
jam#jam#jam#jam#jam
if i write that directly in into a variable... it works. (see the commented var)
otherwise i get returned "id" and "1"
example:
$test=fopen("test.txt","r");
fpassthru($test);
//$test = "jam#jam#jam#jam#jam#jam";
$varray = explode("#",$test);
$num = count($varray);
echo $num;
for($idx=0; $idx < $num; ++$idx)
{
echo("$varray[$idx] <BR>\n");
}