Re: retrieving first paragraph

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
*/


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux