REGEX? SQL? Getting only so much from a long field
| From: | Asendorf, John | Date: | Mon, 16 Oct 2000 19:38:21 +0000 |
| Subject: | REGEX? SQL? Getting only so much from a long field | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-3276@lists.php.net to get a copy of this message | ||
Hello all,
I've got some long stories in a news database. I want to make a little
"preview" type function that only spits out the first paragraph and then
says "read the rest"... what I can't figure out is how to have it just
read the field up to the first <br> tag. (all of the stories have these
added when the story is put into the database. Any suggestions?
John
---------------------
John Asendorf - jasendorf@lcounty.com
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631