SELECT a, b, SUBSTRING(c, 0, 150) AS c, d FROM tbl WHERE ......
array_slice(explode("\n", wordwrap($str,150)), 0, 1);
SELECT `blog_id`, `titel`, `dato`, SUBSTR(`tekst`,1,100) FROM `blog` LIMIT 10
<?php echo substr($tekst, 0, 150); ?>
SELECT `blog_id`, `titel`, `dato`, SUBSTR(`tekst`,1,100) AS teaser FROM `blog` LIMIT 10
du skal definere hvad du vil kalde det virtuelle felt du laver. fx. har jeg kaldt feltet 'teaser'SQL kode SELECT `blog_id`, `titel`, `dato`, SUBSTR(`tekst`,1,100) AS teaser FROM `blog` LIMIT 10