Re: HTML and PHP
| From: | Jean-Christian Imbeault | Date: | Tue, 10 Jun 2003 07:25:19 +0000 |
| Subject: | Re: HTML and PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150857@lists.php.net to get a copy of this message | ||
Christian Ista wrote:
Look the code below. Is it an obligation to multiply the number of <?php ?>. There is no other way ? not possible to use only an open php tag (<?php) and a clode php tag (?>) ?Sure, instead of using <?php ?> use echo or print. switch($constant_lastupdate[$i][3]){ case '1' : echo "<img src='design/logo_windows.gif' alt='' width='12' height='10' border='0'>";
break;And so on ... Jean-Christian Imbeault