Hallo,
How to trim content? I would like to show only the first 30 letters of this content.
This is what I have so far:
include('include/con_database.php');
$result = mysql_query("SELECT * FROM dynamic_content WHERE id='124'");
while ($data = mysql_fetch_array($result)){
echo '<div id="text">'.$data['content'].'</div>'.'<br>';
}
Thanks before.