SyntaxFix
Write A Post
Hire A Developer
Questions
Try This:
echo ((strlen($row['style-info']) > 200) ? substr($row['style-info'],0,200).'...' : $row['style-info']);