I want to do validate product id is exist in db or not . I am learning to devlope REST API in Php

前端 未结 0 1393
醉梦人生
醉梦人生 2021-02-09 15:27

I am trying to check product id is exits in database or not. Help me to correct for loop . What condition i have to check?

$product = new Product($db);
$data = js         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题