10-25-2007, 02:47 PM
|
#27 (permalink)
|
|
The Reckoner
Join Date: Sep 2007
Posts: 437
Thanks: 22
|
not sure if you know about this, but there is an alternative syntax that you can use for your conditions, I always use this when mixing PHP with XHTML:
PHP Code:
<div> <?php if ($something = 1): ?> Something else... <?php endif; ?> </div>
I think it looks better than using the curly braces.
__________________
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
|
|
|
|