It's ok, try fixing what we told you
Also heres an example how to read from a text file properly
PHP Code:
new iFileHandle = fopen( sFilename, "rt" );
new sData[128];
if( iFileHandle )
{
while( !feof(iFileHandle) )
{
fgets( iFileHandle, sData, charsmax(sData) );
trim(sData);
// Do something with a line of file ( sData )
}
fclose(iFileHandle);
}
else
{
set_fail_state( "Couldn't read from a file" );
}
__________________