As far as the line that echoes out the img tag, you have several problems:
1. If you are going to wrap a string literal in double quotes, then any literal double quotes within it must be escaped with a back-slash.
2. Looks like you want a style attribute for the width?
3. You need a semi-colon that at the end of the line.
(I strongly recommend the use of the full <?php tag, as short_open_tags may not always be enabled, and it avoids conflict with "<?xml" tags.)
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Bookmarks