Welcome Guest, Not a member yet? Register   Sign In
Is there a way to combine these two functions? Category System
#2

Combining is easy:

PHP Code:
if( $subject_list $this->Posts_categories_model->get_list() )
{
 
   foreach$subject_list as $sub )
 
   {
 
       $data['subject_options'][$sub->id        $sub->title;
 
       $data['subject_name_options'][$sub->title] = $sub->title
 
   }

Reply


Messages In This Thread
RE: Is there a way to combine these two functions? Category System - by skunkbad - 02-15-2018, 05:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB