Jump to content


Photo

Display Images


  • Please log in to reply
1 reply to this topic

#1 alexcrosson

alexcrosson
  • Members
  • PipPip
  • Member
  • 21 posts

Posted 28 September 2006 - 12:25 AM

Hi, I was wondering if there is an easy way of including images into a php doc? For example i have included content before : include (file.html). Can you like do the same thing but just change the file.html to the directory where the image is located? If you know of any other way to add images I would appreciate it.



#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 28 September 2006 - 12:42 AM

Same as with html ....

echo "<img src='path/to/the/file/funny_face.gif'">;

Legend has it that reading the manual never killed anyone.
My site




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users