Re: [PHP Template] Template Discussion
| From: | Andrei Zmievski | Date: | Thu, 23 Mar 2000 21:36:46 +0000 |
| Subject: | Re: [PHP Template] Template Discussion | ||
| References: | 1 2 | Groups: | php.template |
| Request: | Send a blank email to php-template+get-455@lists.php.net to get a copy of this message | ||
On Wed, 22 Mar 2000, Peter Kocks wrote:
> No I propose using here docs to make this simpler.
>
> <? for($loop=0; $loop<=count($Name);
> op++){
> print <<< ADDRESS;
> $Name[$loop]<br>
> $Address[$loop]<br>
> $Phone[$loop]<p>
> ADDRESS;
> }
> ?>
>
> Of course you could use the foreach call, which although undocumented, I believe is available
> in php4.
You can't use foreach on multiple arrays.
-Andrei
Windows 2000 is certified not to crash more than
once a day, so what is the bootup time, 24 hours?
-- Sam Liddicott