Adding an image next to...
I don't know what I am doing wrong. I currently have:
code:
{ echo "<ul><li><a href=\"http://www.webdevhq.com/view.php3?$row[0]\">$row[1]</a><br></li></ul>"; } [/code] And I would like to have a small image next to it instead of the bullet. I have tried:code:{ echo "<img border="0" src="http://www.webdevhq.com/images/bullet.gif" width="5" height="5"><a href=\"http://www.webdevhq.com/view.php3?$row[0]\">$row[1]</a><br>"; } [/code] With the code to try and get the image in, it gives my a parse error of some sort. could somebody please help me? Thanks.
Matt Kaufman posted this at 04:48 — 11th June 2000.
They have: 324 posts
Joined: Dec 1999
Oh, and just a note: the / or \ are supposed to be there.
Rob Pengelly posted this at 17:04 — 11th June 2000.
They have: 850 posts
Joined: Jul 1999
You need to slash all quotes.
<img border=\"0\" src=\"....\">
------------------
click here to help save lives
http://www.wiredstart.com : The Technology Start Page
http://www.thehungersite.com - http://www.therainforestsite.com
http://www.ratemymullet.com - Beauty is only mullet deep.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.