Parse error: syntax error, unexpected '?' error points to “after .css” :
echo '<fb:recommendations bordercolor="'.$bordercolor.'" colorscheme="'.$colorscheme.'" recommendations="'.$recommTxt.'" height="'.$height.'" width="'.$width.'" header="'.$header.'" site="'.$site.' " css="'.'"<?php bloginfo( 'stylesheet_url' ); ?>/style.css?2"></fb:recommendations>';
I am trying to make some style changes to fb recommendation box, so the full path of css file is not feasible since the files will move to different server with different domain..
I might have overlooked single or double quotes? I am bad with these..
Could you please point / guide me to correct that? thank you
EDIT #2
css="'.'"<?php bloginfo( 'stylesheet_url' ); ?>/style.css?2"
it was updated but on firebug I see:
<fb:recommendations class=" fb_iframe_widget " clear"="" css="http://xxx.com/wp-content/themes/xxx/facebook.css?2></fb:recommendations></div> </div><!--/sidebar--> <div class=" site="xxx.com " header="false" width="245" height="" recommendations="true" colorscheme="White" bordercolor="#fdbc88">
it is strange to see .
Change it to:
As long as it is already a php code – you shouldn’t specify
<?php