note 36082 deleted from language.basic-syntax.instruction-separation by didou
| From: | didou@php.net | Date: | Thu, 25 Sep 2003 12:45:41 +0000 |
| Subject: | note 36082 deleted from language.basic-syntax.instruction-separation by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57090@lists.php.net to get a copy of this message | ||
Note Submitter:
----
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