RE: [PHP] truncating dilema

From: Date: Thu, 13 Jun 2002 22:36:43 +0000
Subject: RE: [PHP] truncating dilema
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-102094@lists.php.net to get a copy of this message
> It has just occured to me though that if I'm to list maybe > 100 news items with descriptions it means alot of memory > right because i have 100 items containing: > date > title > text (could be any length) > > I will use substr() in my php to format the descriptions but > I thought I'd ask here if anyone had a *better* suggestion? Use mysql's substring as part of your query - consult your friendly local mysql manual for more details. CYA, Dave

« previous php.general (#102094) next »