Re: [PHP-DB] Re: Show abbreviated article

2001-08-13 Thread Hugh Bothwell
"Jon Farmer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> From: Johannes Janson [mailto:[EMAIL PROTECTED]] >> Sent: 13 August 2001 12:15 >> To: [EMAIL PROTECTED] >> Subject: [PHP-DB] Re: Show abbreviated article >> > My question is this: how can I select o

RE: [PHP-DB] Re: Show abbreviated article

2001-08-13 Thread Jon Farmer
NO! This will return the first 20 characters from the field not the first 20 words. To do that you need to use a regexp in the SQL or explode the result in php and use the first 20 elements of the array! Regards Jon Farmer Systems Programmer Entanet International Ltd www.enta.net Tel 01952 4289