Hello,
I have this syntax:
I would like to access certain div o the above page for example
than
And make just that div visible... On page ads/et300x250rsTEST.html i would add all my advertisment in divs, and return right one when user from specific country visits the site.
Qusetion is - How to use php include to include just part of the page which is on mine server, so i have full control of it, i can add whatever code there too [et300x250rsTEST.html] ?
Thanks
I have this syntax:
Code:
if ( $CountryCode == RS || $CountryCode == ME ) {
require $_SERVER['DOCUMENT_ROOT']."/ads/et300x250rsTEST.html ";
}
I would like to access certain div o the above page for example
Code:
if ( $CountryCode == RS || $CountryCode == ME ) {
require $_SERVER['DOCUMENT_ROOT']."/ads/et300x250rsTEST.html#nameovDiv1";
}
than
Code:
if ( $CountryCode == RS || $CountryCode == ME ) {
require $_SERVER['DOCUMENT_ROOT']."/ads/et300x250rsTEST.html#nameovDiv2";
}
Code:
if ( $CountryCode == RS || $CountryCode == ME ) {
require $_SERVER['DOCUMENT_ROOT']."/ads/et300x250rsTEST.html#nameovDiv3";
}
And make just that div visible... On page ads/et300x250rsTEST.html i would add all my advertisment in divs, and return right one when user from specific country visits the site.
Qusetion is - How to use php include to include just part of the page which is on mine server, so i have full control of it, i can add whatever code there too [et300x250rsTEST.html] ?
Thanks