Sunday, August 2, 2009

How do I tell PHP/MySql where to load my images?

I am new to php/MySql.


I have a mini site almost ready. I want to know how I can load the images I select to a certain table/area on my webpage.





Thanks for any help.

How do I tell PHP/MySql where to load my images?
are the images being chosen dynamically?





If not, its just simple HTML - %26lt;img src="myImg.jpg" /%26gt;





otherwise it is still just simple html, just with a splash of PHP - %26lt;img src="%26lt;?php echo $imgSrc;?%26gt;" /%26gt;





You can include that right in the middle of whatever HTML you use for your page.

flowers for algernon

No comments:

Post a Comment