Re: retrieving first paragraph
| From: | Jason Wong | Date: | Tue, 27 May 2003 06:53:14 +0000 |
| Subject: | Re: retrieving first paragraph | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28063@lists.php.net to get a copy of this message | ||
On Tuesday 27 May 2003 15:02, Lisi wrote:
> I'm still getting the entire text when I echo $paragraphs[0], and
> $paragraphs[1] is empty (I thought the array was supposed to have the whole
> text, and then the individual selected parts). I tried with both \n, which
> was balnk, and \n'n, which returned the entire text.
How are your paragraphs delimited? Replace "\n" with the delimiter.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
------------------------------------------
/*
I've only got 12 cards.
*/