Menu
Hey, I’m retrieving data from a database after clicking a link from a previous page. Is there a way I can join my ‘articles’ with another table? I tried to put a left join after the FROM clause but I get an error.
At the moment I can only display data from the one table ?
[code=php]
if(!empty($_GET[‘id’]))
{
$sql = ”
SELECT *
FROM articles
WHERE art_book = “” .(int)$_GET[‘id’] . “”
ORDER BY id ASC
“;