jokerfool Posted October 26, 2007 Share Posted October 26, 2007 Currently using this statement: echo "<font size=10 color=green><b>/</b></font>"; I want to replace the green / with an image on that line, yet apon doing so I am confronted with an error that says parse, and I am unsure of how to proceed to place an image link, can someone help me please. Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/74818-solved-using-echo-help-please/ Share on other sites More sharing options...
MadTechie Posted October 26, 2007 Share Posted October 26, 2007 sure you need to escape the quotes ie echo "<img src=\"theimage.jpg\" width=\"100\" height=\"200\">"; you could also do this echo "<img src='theimage.jpg' width='100' height='200'>"; or even echo '<img src="theimage.jpg" width="100" height="200">'; Quote Link to comment https://forums.phpfreaks.com/topic/74818-solved-using-echo-help-please/#findComment-378312 Share on other sites More sharing options...
jokerfool Posted October 26, 2007 Author Share Posted October 26, 2007 MadTechie thank you, much appreciated. Will post another question shortly, thanks. Quote Link to comment https://forums.phpfreaks.com/topic/74818-solved-using-echo-help-please/#findComment-378313 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.