Can anyone tell me what is wrong with this code:
if ($fp = fopen($users, "a+" != NULL ){
fputs($fp, "$email \n$name\n\n",'');
fclose($fp);
}
The file gets created in the fopen call so the if block executes
My browser ouputs this:
Supplied argument is not a valid File-Handle resource..>
twice for each call to the handle, (fputs and fclose).
All help greatly appreciated
skottieb