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.
To
.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Robert V. Zwink
DAID Development LLC
http://www.zwink.net/daid.php
-Original Message-
From: Jon Farmer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 4:19 AM
To: Alfredeen, Johan; 'Jamie Saunders'
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP
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:
3 matches
Mail list logo