Jump to content

JOIN


kenno69

Recommended Posts

Ok so just say i have 3 tables that i need to join

i have them joined but i need another join

$sql = "SELECT * FROM topics

JOIN text

ON text.msg_id = topics.mt_msg_id

JOIN members

ON topics.mt_from_id = members.id";

ok simple right, well i need another join to join members.login and topics.mt_to_id

how would i go about that?

Thanks

Link to comment
https://forums.phpfreaks.com/topic/85860-join/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.