switch question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Can I jump to html and back to php in the middle on switch

example:

<?php
switch ($old_type) {
case 'turn':
?>
<td>
do some html
</td>
<?php
break;

switch ($old_type) {
case 'not turn':
?>
<td>
do some html

etc etc.


Thanks
-Will 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux