I want to store in array, after filtering the data from in database and iterate throgh each data.
in business_cards variable stores the database data
foreach($business_cards as $b) {
$new_arr[] = explode(',', $b->title);
$card[] = $new_arr[0][0].'_'.$b->card_id;
$count[] = $b->count;
}
$new_arr,$card, or$countare an array.