$realUser = mysql_query("SELECT Username FROM my_db WHERE Username = $user ");
This is not storing the $user value to $realUser. I am correctly using $_REQUEST to retrieve the value for $user from a form, and I am connected to my database. I understand there is an issue with PHP variables in a query, can someone please tell me how I could make this work?