Hello, I need help regarding php image on html img src. I cant find to work it. I'm not familiar with php and I'm editing it. Can someone pls do fix this for me? <img src="<?php echo $site_url.$template_url; ?>/images/logo.png> border="0" /> It's not working here... Thanks!
<img src="<?php echo $site_url.$template_url; ?>/images/logo.png> border="0" /> should be <img src="<?php echo $site_url.$template_url; ?>/images/logo.png" border="0" /> you had a > instead of " after logo.png
Also make sure $template_url does not ends with a / For example if you use $site_url="http://www.yahoo.com/"; $template_url="templates/"; Code (markup): So that $site_url.$template_url will result http://www.yahoo.com/templates/ Code (markup): and then your code will output like <img src="http://www.yahoo.com/templates[U]//[/U]images/logo.png" border="0" /> Code (markup): Look the underlined part in above code. Hope I could explain clearly.