$myid = 1; select msg_from FROM msg WHERE msg_to = $myid so am selecting only where msg came from who sent it where all people sent msg to me - my userid 1 msg_from is the id which shows this msg is from this userid from tble users. so msg_to is my userid the acct owner. so msg comes to me. but i need to see who sent them.