Hej
Nie wiem czy cie dobrze zrozumialem ale moze o to ci chodzi
<?php
require_once "includes/db.php";
$studies = mysql_query("SELECT * FROM case_studies WHERE active = 'yes' ORDER BY STR_TO_DATE(date, '%d/%m/%Y') DESC");
$description = substr($STD['description'], 0
, 300
); $filtr_description."…
}
?>
W tym przykladzie interesuje cie funkcja substr() ktora w przykladzie ucina tekst z bazy do 300 znakow.