D7net Mini Sh3LL v1
Current File : C:/Domains/maymaytinson.com/httpdocs/lib/images/13/../10/../7/../16/../activity/../activity/../MAX/../8/../JACK/../17/../24/../JUKI/../20/../24/../13/../13/../10/../HIEU JACK/../GARMENT/../../../conn/../collections/all/../../zip_food.php |
<?php
include 'conn/config.php';
include 'conn/connect.php';
$stmt=$conn->prepare("SELECT * FROM food");
$stmt->execute();
$food=$stmt->fetchAll(PDO::FETCH_ASSOC);
$listFood = array();
foreach ($food as $food) {
array_push($listFood, new food($food['name'],$food['price'],0,$food['image'],$food['discount']));
}
echo json_encode($listFood);
?>
AnonSec - 2021 | Recode By D7net