Skip to content
Snippets Groups Projects
Commit 2437d834 authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

oups

parent 6f3f7b63
Branches
No related tags found
No related merge requests found
<?php
class Shop{
public static function getAllProducts(){
$itemConfig = Connexion::pdo()->query("SELECT itemConfig FROM qs_shops")->fetchColumn();
$itemConfig = Connexion::pdo()->query("SELECT itemConfig FROM qs_shops")->fetchAll(PDO::FETCH_ASSOC);
$items = yaml_parse($itemConfig);
print_r($items);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment