Help for this page

Select Code to Download


  1. or download this
    $myid = 1;
     select msg_from FROM msg WHERE msg_to = $myid
    ...
    
    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.
    
  2. or download this
    so this is 
    
    ...
    
    so am selecting all people who sent msg to my userid -my userid 1
    bt the problem is in the sql statement bt the rest is ok