sql_error: select * from recipecats order by recipecatsort asc sql_error: select * from dietarystyles sql_error: select count(distinct recipes.recipeid) as c from recipes
left join recipedietarystyles on recipes.recipeid=recipedietarystyles.recipeid
left join dietarystyles on recipedietarystyles.dietarystyleid = dietarystyles.dietarystyleid where recipes.recipepublished=1 and recipes.recipecatid = 4 sql_error: select * from recipes, recipecats, recipedietarystyles, dietarystyles where recipes.recipecatid = recipecats.recipecatid and recipes.recipeid=recipedietarystyles.recipeid and recipedietarystyles.dietarystyleid = dietarystyles.dietarystyleid and recipepublished and recipes.recipecatid = 4 group by recipes.recipeid order by recipes.recipedate desc limit 0,24 sql_error: select * from recipecats order by recipecatsort asc sql_error: select * from dietarystyles sql_error: select * from recipecats order by recipecatsort asc sql_error: select * from dietarystyles