Or you could shorten it to

PHP Code: 
if (file_exists($_SERVER['DOCUMENT_ROOT']."/ads/et300x250".$CountryCode.".html")) {
include(
$_SERVER['DOCUMENT_ROOT']."/ads/et300x250".$CountryCode.".html");
} else {
include 
$_SERVER['DOCUMENT_ROOT']."/ads/300x250else.html"

Or even better just wrap it into a function and call it wherever you need to call an ad
bluefrogx Reviewed by bluefrogx on . Use php include for certain div of the page Hello, I have this syntax: if ( $CountryCode == RS || $CountryCode == ME ) { require $_SERVER."/ads/et300x250rsTEST.html "; } Rating: 5