note 40244 added to language.basic-syntax
| From: | george at whiffen dot net | Date: | Thu, 26 Feb 2004 12:12:13 +0000 |
| Subject: | note 40244 added to language.basic-syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-65793@lists.php.net to get a copy of this message | ||
Tip: New lines immediately following a close tag, (?>,</script>) are suppressed in the
output.
For example:
Contact:-
Name:<?= $myname?>
Telephone: <?= $myphone?>
will typically produce:
Contact:-
Name: My NameTelephone: My Phone
To get the new line back, just add anything after the close tag and before the new line. A single
space character works fine.
----
Manual Page -- http://www.php.net/manual/en/language.basic-syntax.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40244
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40244&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40244&report=yes
Search -- http://master.php.net/manage/user-notes.php