常用方法
常用方法
常用方法
常用方法
function deleteProduct() { include_once "products.php"; $product = new products(); $fid = $_REQUEST['fid']; if ($product->deleteProduct($fid)) { echo '{"result":0,"message":"Product not deleted"}'; return; } echo '{"result":1,"message":"Product Deleted"}'; }