PHP count not working properly
<p>This only returns User doesn't exist.
Im guessing it is the count that is failing but it worked last night, but not sure why it isn't currently working, i have been playing with my code and making it look better but everything else is still functioning and sadly i do not have any back ups. this is basically for reputation on my websites and this is the php file that the add reputation links to, e.g you are on someones profile ([id number 5]) then when you want to give them a reputation you click a link that is reputation.php?good=5
Pastebin link
<a href="http://pastebin.com/HizC9hq2" rel="nofollow">http://pastebin.com/HizC9hq2</a></p>
