Tasos Posted April 15, 2013 Share Posted April 15, 2013 Hello, i dont know ho to select from more tables. How to ad more tables in to this ? ("SELECT * FROM tabel_1 WHERE channel LIKE '%funny%' ORDER BY date DESC LIMIT $id, $per_page"); And is this safe ? if not how can i make it safe ? Thanks. Link to comment https://forums.phpfreaks.com/topic/276977-how-to-select-from-more-tables/ Share on other sites More sharing options...
Barand Posted April 15, 2013 Share Posted April 15, 2013 You add tables using JOINS or UNIONS http://www.phpfreaks.com/tutorial/data-joins-unions Link to comment https://forums.phpfreaks.com/topic/276977-how-to-select-from-more-tables/#findComment-1424878 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.