U shouldn't use something, because someone told u to use it, specially if u don't know how to use them, lets take a look unserialize() functions from php manual ...
mixed unserialize ( string str [, string callback] )
the first param of this function is a string, what is your param?
EvansLight wrote:unserialize($s_entry);
Did u ever look into your "count.txt" file to see how the content is stored, is it how u wanted to look?
And u should add this as your first line of code:
error_reporting (E_ALL);
because u should see a notice in this line:
fwrite($file,$f_entry);
looking into php manual:
int fwrite ( resource handle, string string [, int length] )
second param of this function is a string, what type of param do u have?
If your friends tells u what function u should use, I think they should explain u how to use them ...
I suggest u take a good look at your code, debug it, look into php manual to see everything how is working and what u are doing wrong, you still have a lot to work, if u have more question, don't hesitate to come here, search for them and if u cant find them create a new thread ...
GL and HF coding. 😃