RE: [PHP] truncating dilema

2002-06-13 Thread David Freeman
> 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 su

Re: [PHP] truncating dilema

2002-06-13 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Julie Meloni declared > You could use the substring() function in MySQL (or a similar function > in your db of choice) to make the db do the work instead of PHP. Nice, I'll look it up. Cheers Julie. - -- Nick Wilson // www.explo

RE: [PHP] truncating dilema

2002-06-13 Thread Lazor, Ed
Why not just put a "Subject" field? Most people use that to put a brief description of the article. Make the form field small and they'll keep their input small. Plus, you can set the maxlength value of the input field to limit things. http://www.htmlreference.com/htmlref95.html > -Origina

Re: [PHP] truncating dilema

2002-06-13 Thread Julie Meloni
NW> It has just occured to me though that if I'm to list maybe 100 news NW> items with descriptions it means alot of memory right because i have 100 NW> items containing: NW> date NW> title NW> text (could be any length) NW> I will use