Inserting image
Moderator: General Moderators
Inserting image
Hi there does anyone know how to insert image using php.
- CrowderSoup
- Forum Newbie
- Posts: 18
- Joined: Thu Apr 21, 2011 2:56 pm
- Location: Murray, UT
Re: Inserting image
It really depends a lot on what you mean by:
Do you mean that you want to pull it from the database, or you just want to use conditional statements to decide what image to display? Or a myriad of other options. More info will help us answer your question, without any further clarification there isn't much we can do.terry1989 wrote:Hi there does anyone know how to insert image using php.
Re: Inserting image
basically im developing a php website and I want to insert an image to display is that clear?
Re: Inserting image
What do you mean by "insert"? Where is the image now, and where do you want it to go?
- CrowderSoup
- Forum Newbie
- Posts: 18
- Joined: Thu Apr 21, 2011 2:56 pm
- Location: Murray, UT
Re: Inserting image
Not really... "insert" can mean a lot of things. If you just want to put an image on a page using HTML use the IMG tag:terry1989 wrote:basically im developing a php website and I want to insert an image to display is that clear?
Code: Select all
<img src="yourimage.jpg" />