podarum Posted September 28, 2009 Report Share Posted September 28, 2009 Hi,I'm trying to insert a picture instead of the word "TITLE", but something's not working out.. any help? I have the word TITLE in a fancier .png format. Thanks. <?phpecho "<table cellspacing='2' cellpadding='3%' border='2' width='80%' bordercolor='#995961' ALIGN=CENTER BGCOLOR= '#f6faff'>";print "<br />";print"<tr><th colspan=5 align=center> <font size=5 color=maroon>TITLE</th></tr></font><TR><TH width='80%'rowspan='2'><TH colspan='3'>Effect1<TH rowspan='2' width ='5%'>Effect2<TR><TH width ='5%'>Negative<TH width ='5%'>Neutral<TH width ='5%'>Positive</th></tr>";?> Link to comment Share on other sites More sharing options...
Synook Posted September 28, 2009 Report Share Posted September 28, 2009 How are you trying to "insert a picture"? You can just use an <img> tag, making sure the path is correct. Link to comment Share on other sites More sharing options...
podarum Posted September 28, 2009 Author Report Share Posted September 28, 2009 I tried that but didn't work... am I missing something .. <img 'images/score.png'> instead of SCORECARD ??? Link to comment Share on other sites More sharing options...
podarum Posted September 28, 2009 Author Report Share Posted September 28, 2009 nevermind.. thank you .. I got it.. I was missing the src= .. Thanks again. Link to comment Share on other sites More sharing options...
Ingolme Posted September 28, 2009 Report Share Posted September 28, 2009 (edited) * edited * Edited September 28, 2009 by Ingolme Link to comment Share on other sites More sharing options...
PravinBhat Posted October 12, 2009 Report Share Posted October 12, 2009 Try Using The Following<?php//codeecho "<img src=http://www.example.com/images/image.jpg />";//orecho "<img src=".$imgsrc."/>;//where $imgsrc should contain the pah of the image you want to insert !!echo "Bye";?> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now