PHP script if Content Block is Empty
Posted: Thu 9. Apr 2009, 16:52
Sorry for my English.
Please help me. Will be work that sequence in template?
...
...
Please help me. Will be work that sequence in template?
...
Code: Select all
<div>
{HEADER}
[PHP]
if(empty($content['CB']['HEADER'])
{echo ('<img src="i/himage_02.jpg" width="500" height="375" />');}
[/PHP]
<div>