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

test

parent 7112e326
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ class Shop{ ...@@ -3,6 +3,7 @@ class Shop{
public static function getAllProducts(){ public static function getAllProducts(){
$itemConfig = Connexion::pdo()->query("SELECT itemConfig FROM qs_shops")->fetchColumn(); $itemConfig = Connexion::pdo()->query("SELECT itemConfig FROM qs_shops")->fetchColumn();
$items = yaml_parse($itemConfig); $items = yaml_parse($itemConfig);
print_r($items);
/* /*
item: item:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment