db->where('tags',$row_results->tags);
$this->db->limit(6);
$get=$this->db->get('photos');
foreach($get->result() as $row_results){
$tag="";
if($row_results->tags=="design"){ $tag="Website design";}
if($row_results->tags=="development"){ $tag="Software Development";}
if($row_results->tags=="app"){ $tag="Product & Services";}
?>