IF statement not working – Any suggestions?

ANSWER

$_COOKIE["tier_advance"] !== "$count")

Note the quotations on the variable. Cookies are saved as strings, therefore without the quotations it was ringing true.

Thanks to @mozboz for cleaning it up and making this more apparent for me.

error code: 523