note 68533 added to function.wordwrap

From: Date: Tue, 01 Aug 2006 05:28:37 +0000
Subject: note 68533 added to function.wordwrap
Groups: php.notes 
Request: Send a blank email to php-notes+get-115388@lists.php.net to get a copy of this message
Any ideas how to put at text limit on 'entry' so it only pulls the first so many characters like a preview? $res = db_res("SELECT count(*) as quantity FROM Blog INNER JOIN Profiles ON (Blog.owner = Profiles.ID)"); $quantity = mysql_fetch_array($res); $blog_res = db_res("SELECT *, count( branch )-1 AS comments FROM Blog GROUP BY branch ORDER BY date, branch ASC LIMIT {$from}, {$step}"); this is in my php page.......ty ---- Server IP: 216.235.15.211 Probable Submitter: 65.93.98.114 ---- X-Spam-Status: No, hits=3.8 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER, UPPERCASE_25_50 autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.wordwrap.php Edit -- https://master.php.net/note/edit/68533 Del: integrated -- https://master.php.net/note/delete/68533/integrated Del: useless -- https://master.php.net/note/delete/68533/useless Del: bad code -- https://master.php.net/note/delete/68533/bad+code Del: spam -- https://master.php.net/note/delete/68533/spam Del: non-english -- https://master.php.net/note/delete/68533/non-english Del: in docs -- https://master.php.net/note/delete/68533/in+docs Del: other reasons-- https://master.php.net/note/delete/68533 Reject -- https://master.php.net/note/reject/68533 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#115388) next »