Forum Moderators: coopster
May this is wrong?
<?php
if ($page == "under") {
$bg = 'images/un4.jpg';
}
else {
$bg = 'images/new1.png';
}
?><td background="<?=$bg?>"> <table width="723" height="528" border="0" align="center" cellpadding="0" cellspacing="0">
<?phpif(strpos($_SERVER['PHP_SELf'],"under")){
$tmp_BG = 'images/un4.jpg';
}
else{
$tmp_BG = 'images/new1.png';
}?>
<td style="background-image:url(<?php echo $tmp_BG;?>)"> <table width="723" height="528" border="0" align="center" cellpadding="0" cellspacing="0">