Re: alternative syntax for do...while

From: Date: Tue, 13 Jul 2004 15:30:22 +0000
Subject: Re: alternative syntax for do...while
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-11175@lists.php.net to get a copy of this message
Thomas Seifert wrote:
On Mon, 12 Jul 2004 21:53:51 -0400, Marc Richards wrote:
<? do: ?> <tr> <td><?= $s_array['name'] ?></td> <td><?= $s_array['classyear'] ?></td> <td><?= $s_array['status'] ?></td> </tr> <? while ($s_array = mysql_fetch_array($search_results): ?> <? enddowhile ?>
This looks like a good case to use a real template-engine.
Huh? Why would you use a template engine if the features you are looking for already exist in the language. You think I should use a template engine just for do while? Marc

« previous php.internals (#11175) next »