Hi!
while(strlen($row[text]) < 30){
echo "$row[text]";
}
Der ansatz ist gut, aber so sollte es aussehen:
if(strlen($row[text]) < 30){
$row[text]=substr(0,30,$row[text]);
echo $row[text];
}
--
Probier mal was anderes diesen Winter: Coke bei 60 °
Probier mal was anderes diesen Winter: Coke bei 60 °