Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
function get_products($id) { include "products.php"; $obj = new products(); $row = $obj->get_product($id); //return a JSON string to browser when request comes to get description echo '{"result":1,"desc":"' . $row['description'] . '"}'; }