I have a.php where I do a DB query and assign that to list like this..
list($A,$B)=mysql_fetch_row(mysql_query("SELECT A,B FROM configs WHERE idone=$v AND id='$inputid' LIMIT 1"));
$p=array();
$p=@explode(';,',base64_decode($A));
$bg=$p[0];
$A='';
$i=0;
foreach($p as $X){
if(++$i>1) $A.='\''.str_replace(':-',':',$X).'\',';
}
require'templates/inner_play.htm';
Now in inner_play.htm , I am using $A and $B from then above list like this..
'image': '<?php echo $A?>',
'URL' : '<?php echo $B ?>'
I can get the values for $A but $B does not resolve.? am i missing anything.?
Note: I can;t change the inner_play.htm to php as its part of bigger template system and I do get the value for $A in the same Htm but for some reason I am not getting $B.