Hi,
I have a table that stores contacts as senders and receivers
(looks like table.senderid=3; table.receiverid=5)
Now I have an additional table with the names of those ids in it
My question is, can i extract the names from both in one result?
so i can do something like this:
$result=mysql_query(?);
$vars=mysql_fetch_assoc($result);
echo $vars["sendername"]."-".$vars["receivername"];
I cant figure out the query, any ideas?