"if then" statement
Posted: Thu May 10, 2007 3:50 am
OK, i have CMSMS installed and it runs seamlessly and am very, very happy with it. I just have 1 question at the moment.
Is it possible to make an "if then" statment in a template, like below?
thanks in advance;)
Fult.
Is it possible to make an "if then" statment in a template, like below?
Code: Select all
if ($_GET['page'] == 'release'){
$header_img = 'release.jpg';
} else if { ($_GET['page'] == 'home'){
$header_img = 'home.jpg';
}
Fult.