You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$food = $db -> select("SELECT f.id, f.image, f.name, t.name as typeName FROM food f inner join type t on f.type = t.id where (t.id = $typeSelected or $typeSelected = -1) order by f.name");
//render creates an html page loading things from the database