That wouldn't be the case here since the entire string was enclosed in double quotes. So there's no need to concat the variables instead of putting them inside.
Anyway, your problem is that you're retrieving the result row as an object with mysql_fetch_object(), but then you just compare that...