ARCHITECTURE
num_rows()>0)
{
foreach($subject_list->result() as $subject)
{
$id=$subject->id;
$code=$subject->code;
$subject=$subject->subject;
$image=$subject->image;
?>