Tasos Posted April 15, 2013 Share Posted April 15, 2013 (edited) 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. Edited April 15, 2013 by Tasos Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.