Re: [PHP] Displaying few words from record in mySQL

2003-03-08 Thread Nik Makepeace
On Sat, 2003-03-08 at 05:21, Rahul.Brenda wrote: Kevin, Your program certainly makes very good sense to me. I have written an extension of the idea available at http://nikmakepeace.com/goodies/abbreviate.phps It takes 5 arguments: string to be abbreviated, length in

Re: [PHP] Displaying few words from record in mySQL

2003-03-08 Thread chris
On Fri, 7 Mar 2003 10:22:01 -0800 (PST), Rahul.Brenda [EMAIL PROTECTED] wrote: Glory Supreme Power What i'm looking to do is.. i want to display only the first few words of the record in my mySQL database.. For example.. i have a table with a field title.. and let's say my last record has the

Re: [PHP] Displaying few words from record in mySQL [WORKS]

2003-03-08 Thread Rahul.Brenda
Chris.. 2 words for you.. WOW and WOW. This works real well.. thanks. I didn't know it was possible through an SQL statement. Nik Kevin, thanks a lot .. but this SQL Query works too efficiently and fast. Thanks again.. Rahul S. Johari Make mysql do the work for you. select

[PHP] Displaying few words from record in mySQL

2003-03-07 Thread Rahul.Brenda
Glory Supreme Power What i'm looking to do is.. i want to display only the first few words of the record in my mySQL database.. For example.. i have a table with a field title.. and let's say my last record has the value in title field as This is going to be really cool What i want to

Re: [PHP] Displaying few words from record in mySQL

2003-03-07 Thread Kevin Stone
- Original Message - From: Rahul.Brenda [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 07, 2003 11:22 AM Subject: [PHP] Displaying few words from record in mySQL Glory Supreme Power What i'm looking to do is.. i want to display only the first few words of the record

Re: [PHP] Displaying few words from record in mySQL

2003-03-07 Thread Rahul.Brenda
Kevin, Your program certainly makes very good sense to me. However, 2 things i will need to ask you.. is that, let's say i decide i want the first 4 words from the record displayed.. for all the 4 rows i'm displaying.. where do i define that in your program? And secondly, how do i make this