Dijkgraaf - 4:01 am on Jul 15, 2013 (gmt 0)
Plain English in as in ...
"I'm trying to get a row count from table user_answers where it matches X conditions" explaining what the parameters $profile and $var5 mean, rather than the badly written SQL code that does not work and has logic errors in it.
I suspect that what you want is below, but without that explanation I'm just guessing as I don't know what you are trying to do with $var5 and the LIKE clause.
$results = mysql_query("SELECT COUNT(`user_answer_id`) FROM `user_answers` WHERE `user_name` = '$profile'")