Re: Text_Wiki Problems....

From: Date: Wed, 18 Aug 2004 17:58:49 +0000
Subject: Re: Text_Wiki Problems....
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-32755@lists.php.net to get a copy of this message
On Aug 18, 2004, at 12:19 PM, Davey wrote:
As you can see, all its putting in paragraphs and new lines. I have tried this on PHP 4.3.6 and 5.0.1, same result. What am I doing wrong!?
Leading whitespace. The lines need to start at the "physical" beginning of the line. Try this instead: $wiki_text = <<<WIKI + Header Level 1 Here's a paragraph and a link to <a href="somewhere">foo</a> * list item 1 * list item 2 WIKI; -- Paul M. Jones Savant: the simple alternative to Smarty for PHP. http://phpsavant.com/ DB_Table: build RDBMS tables and XHTML forms in one PHP class. http://wiki.ciaweb.net/yawiki/index.php?area=DB_Table Yawiki: a collaborative online documentation system. http://yawiki.com/ Yawp: a single-file foundation for PHP applications. http://phpyawp.com/

« previous php.pear.dev (#32755) next »