Re: [PHP Template] Template Discussion

[email protected] (Andrei Zmievski) Thu, 23 Mar 2000 15:36:46 -0600
Newsgroups php.template
Message-ID <[email protected]>
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