<?php $data = "[]"; if (is_string($data)) { $res = json_decode($data, true); if ($res == NULL) { $res = $data; } } echo $res; echo empty($products);
You have javascript disabled. You will not be able to edit any code.