Does anyone know why this doesn't work!
Posted: Sun Feb 01, 2004 6:46 am
I have this code in a userform:
the specific bit it rejects is
why is this and is their any alternative, the array is a randomly generated number.
Code: Select all
function WriteToFile($firstname){
$TheFile= "$arrayїchat].txt";
$Open = fopen ($TheFile,"a");
if($Open){
fwrite ($Open,"$firstname");
fclose($Open);
$Worked=True;
} else {
$Worked = False;
}
return $Worked;
}Code: Select all
$TheFile= "$arrayїchat].txt";