Re: [PHP] no newline after ? in the resulting HTML

2006-03-21 Thread Rostislav Krasny
On Mon, 20 Mar 2006 17:51:32 -0600 (CST) [EMAIL PROTECTED] (Richard Lynch) wrote: On Sat, March 18, 2006 12:36 pm, Rostislav Krasny wrote: pHello World/p /body pHello World/p/body Why there is no newline afer pHello World/p ? Is it a PHP bug or the tutorial should be updated

Re: [PHP] no newline after ? in the resulting HTML

2006-03-21 Thread Rostislav Krasny
, that newline is then deleted from the resulting HTML. If you put a space and a newline after that space, both will not be deleted. That is all. P.S. could you not top-post, please. Rostislav Krasny wrote: On Mon, 20 Mar 2006 17:51:32 -0600 (CST) [EMAIL PROTECTED] (Richard Lynch) wrote

[PHP] no newline after ? in the resulting HTML

2006-03-18 Thread Rostislav Krasny
Hi, I've tried to ask the following question on internals@lists.php.net but has been pointed out that that mailing list isn't appropriate. So I'm resinding it here. I am a newbie to PHP. I've installed a php5-cgi-5.1.2_1 from FreeBSD ports collection and access it by FastCGI protocol from nginx

[PHP] Re: no newline after ? in the resulting HTML

2006-03-18 Thread Rostislav Krasny
On Sat, 18 Mar 2006 19:37:48 + [EMAIL PROTECTED] (James Benson) wrote: I get the same results, I doubt it's a bug, the person who wrote the article maybe never tried what it would output since they probably know how the echo construct works, I think it is a bug. That part of the article

Re: [PHP] no newline after ? in the resulting HTML

2006-03-18 Thread Rostislav Krasny
On Sat, 18 Mar 2006 13:49:19 -0800 [EMAIL PROTECTED] (Jim Lucas) wrote: put a space after the ? and you will retain the line feed It also adds that space before the retained line feed, but so it looks better anyway. Excellent suggestion, thank you! Could it be added to the FAQ and to the