Ok I am trying to put this:
<?php echo $row_manageads['size']; ?> (this will return either sky600 or banner468)
Inside of this:
<?php
$adsize = "sky600";
if ($adsize == "banner468") {
print ("ads_view468x60.php");
} elseif ($adsize = sky600) {
print ("ads_view600x160.php");
}
?>
I tried this:
<?php
$adsize = "<?php echo $row_manageads['size']; ?>";
if ($adsize == "banner468") {
print ("ads_view468x60.php");
} elseif ($adsize = sky600) {
print ("ads_view600x160.php");
}
?>
but it did not work. How do I do this correctly? (I also tried using " echo $row_manageads['size']; " only aswell)
Thanks.