Page 1 of 1

Display image

Posted: Wed Aug 06, 2008 2:13 pm
by Arsench2000
Hello dear dear PHP Gods, I have a very simple question for you, I have a one folder with img name and have a into db fields one of them is the image name and the second image path. How can I display image with every text Im adding.


The texts you can see in http://www.centremusicanatzaret.com the right side I want to displayinserted image.


Thank you very much.

Re: Display image

Posted: Wed Aug 06, 2008 2:50 pm
by RobertGonzalez
That is not really a PHP thing so much as a markup thing, unless the image information is tied to a particular row of a loop, in which case use PHP to echo the image path.

Re: Display image

Posted: Wed Aug 06, 2008 3:12 pm
by Arsench2000
Everah wrote:That is not really a PHP thing so much as a markup thing, unless the image information is tied to a particular row of a loop, in which case use PHP to echo the image path.
Thanks, but how can I do it, Im doing like this

$i_path ="./img/"

echo"$i_path "; ???