I write this bellow code
<div class="description"><?php echo substr($data['description'],strpos($data['description'],$info['title']),100); ?></div>
when I change method to this bellow code I get an error!!
<?php echo'<div class="description">'.substr('.$data['description'].',strpos('.$data['description'].','.$info['title']).',100).'</div>'; ?>
error: Parse error: syntax error, unexpected T_STRING...