Сообщение от Gozar
|
вы не указали таблицу для выборки food_menu
FROM food, food_menue
|
$query = "SELECT food.Date, food.Food, food_menue.number
FROM food LEFT JOIN food_menue ON food.Date=food_menue.Date AND food.Food=food_menue.Food WHERE food.Date BETWEEN DATE('" . $dt_from . "') AND ('" . $dt_to . "') AND (food_menue.User_id IS NULL OR food_menue.User_id = '0') order by food.Date";
уже все работает . )