Two things: You may need to specify which database to use. after your $connect, specify the database with:
mysql_select_db("database_name",$connect);
also, do you want to display the query that has been sent or the results of the query? if you want to display the query that was sent, try this:
$connect = mysql_connect("localhost","testguy","test");
mysql_select_db("database_name",$connect);
$sendthisquery = "SELECT * FROM aol_v2 WHERE sname=" . $sname2;
$snamecheck = mysql_query($sendthisquery);
echo $sendthisquery;
Hope this helps! 🙂