note 36082 added to language.basic-syntax.instruction-separation
| From: | php-general at lists dot php dot net | Date: | Thu, 25 Sep 2003 09:52:36 +0000 |
| Subject: | note 36082 added to language.basic-syntax.instruction-separation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-57085@lists.php.net to get a copy of this message | ||
mviana at corporatestreet dot net WROTE ON 06-Jun-2003 03:38:
You an also echo more lines of code as long as you close the all echo line with a semicolon, but
don't have to close the last line. That is where the example will do it's job.
Example:
<?php
echo "hello world";
echo "<br>";
echo "hello people"
?>
Result Out puts:
hello world
hello people
INSTEAD OF USING the semicolon and "echo" every time again, you can also use a dot.
Example:
<?php
echo "hello world" . "<br>" . "hello people"
?>
Result Out puts:
hello world
hello people
----
Manual Page -- http://www.php.net/manual/en/language.basic-syntax.instruction-separation.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36082
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36082&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36082&report=yes