My admin log
#2

Quote:
Originally Posted by SAMPWiki
A little explanation about the escape codes; the "\n" will begin a new line, and the \r makes sure it starts at the beginning, not somewhere in the middle of a line, so it wont end up like
Try adding "\r" before "\n". But still your code is supposed to generate a new line, which may not write from beginning. I'm also suggesting you to check if the file handle is valid before using fwrite and fclose.
Reply


Messages In This Thread
My admin log - by Ahmed21 - 13.01.2017, 12:44
Re: My admin log - by Lordzy - 13.01.2017, 12:57
Re: My admin log - by Ahmed21 - 13.01.2017, 12:59

Forum Jump:


Users browsing this thread: 1 Guest(s)