Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

PHP DISTINCT

$products = DB::table('products')->select( DB::raw('DISTINCT(product_id)') )->where('is_enable', '=', 1)->groupBy('product_id')->get();
Source by www.pakainfo.com #
 
PREVIOUS NEXT
Tagged: #PHP #DISTINCT
ADD COMMENT
Topic
Name
9+8 =