Ok I can work with that for a filename thanks!
ok, now one more question....
right here
///////////////////////////////////////////////
//write the content strings into the textfile//
///////////////////////////////////////////////
if($email) {
fwrite ($fp,$message);
}
}
fclose ($fp);
chmod ("../filez/$textfilename", 0777);
mysql_free_result($result);
}
Now you see the
fwrite ($fp,$message);
that just writes the message, which is a query from the database.
is there anyway i can just add a line above where it starts writing?
all i want it to say is
Name, E-Mail Address
I cant figure out how to get it to do that..