i wanted to concat string into something look like this:-
google_ad_format = "728x90_as";
from two argument passes down from the main function and that argument is the width(728) and height(90) and store into a variable $adFormat as "728x90_as"
so that when i put this code into my adsense code like this it will work:-
google_ad_format = $adFormat;
i've tried this before
$x = 'x';
$quote = '"';
$as = '_as';
$adFormat = "$quote$adWidth$x$adHeight$as$quote";
AND THIS
$adFormat = '"'.$adWidth."x".$adHeight."_as".'"';
and then called
google_ad_format = $adFormat;
which it dont work. no ads displayed on my page...
please help