![]() Topic awaiting preservation: php/html syntax (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: 1393 |
![]() Is there any reason I wouldn't want to do something like this code: <?php if ($someVar == "something") { ?> html 'n stuff <?php } else { ?> other html 'n stuff <?php } ?> as opposed to using echo? |
Maniac (V) Inmate From: under the bed |
![]() Whenever posible, I will end my PHP and write regular HTML rather than using echo. |
Maniac (V) Inmate From: Sthlm, Sweden |
![]() I'll take the opposite & harsh opinion... |
Maniac (V) Inmate From: under the bed |
![]() I wouldn't say that is the opposite opinion, just a stricter view of it |
Maniac (V) Inmate From: Sthlm, Sweden |
![]() Ok, I'll go for stricter quote:
|
Maniac (V) Inmate From: under the bed |
![]() |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
![]() Personally, these days I use a smarty based presentation layer. |