why doesn't select what I want when I put $selemails = mysql_query("SELECT * FROM private_messages WHERE to_user='$user' "); ?

I don't know why this isn't working, it should right?