Inserting PHP code into a echo statement
-
I apologize if this is the wrong section to post this in but I have an issue – all I want to do is have this statement work by inserting the “<?php bloginfo(‘template_url’); ?>'” into this example. This doesn’t work for me.
echo <img src=”‘.<?php bloginfo(‘template_url’); ?>.'”/images/subdirectory/whatevergraphic.gif” border=”0″>
I’m getting a syntax error. I’ve looked up simple combining php code etc and nothing is working for me.
Am I not doing the php right? Any help would be great please!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Inserting PHP code into a echo statement’ is closed to new replies.