<?php $where = array('bla = :bla'); foreach($where as $cond => $term) { if(preg_match('/(:\s+)/', $cond, $matches)) { $expression = $cond; } } echo $expression;
You have javascript disabled. You will not be able to edit any code.