The solution for the futures dummies as my! jajaja
$products=Product::where('product_name',$request->product_name)->select('quantity')->first();
if($products == 0){
echo "equal 0";
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community