2001 4:19 AM
To: Alfredeen, Johan; 'Jamie Saunders'
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] selecting words
>There was a post earlier very similar to this. If you have a database, you
>could use SELECT LEFT(mycolumn, 100) FROM mytable WHERE ...
>Without a db, you can use the
>There was a post earlier very similar to this. If you have a database, you
>could use SELECT LEFT(mycolumn, 100) FROM mytable WHERE ...
>Without a db, you can use the PHP substring function:
>substr()
Except that would return the first 100 characters and not the first 100
words as requested.
Jamie,
There was a post earlier very similar to this. If you have a database, you
could use SELECT LEFT(mycolumn, 100) FROM mytable WHERE ...
Without a db, you can use the PHP substring function:
substr()
Hope this helps,
Johan Alfredeen
www.pongworld.com
-Original Message-
From: J
3 matches
Mail list logo