Rabastan Posted March 21, 2012 Share Posted March 21, 2012 I am using this code <?php echo IMAGES_HEADER . "header_02.jpg"; ?> Instead of displaying the actual image on my site I am getting the path of the image. It is displaying "images/header/header_02.jpg" instead. Thank You in advance Quote Link to comment Share on other sites More sharing options...
smerny Posted March 21, 2012 Share Posted March 21, 2012 if it's displaying "images/header/header_02.jpg"... and you want <img src="images/header/header_02.jpg" /> then do this... <?php echo "<img src=". IMAGES_HEADER ."header_02.jpg />"; ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.