Display image

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Arsench2000
Forum Commoner
Posts: 38
Joined: Sat Sep 15, 2007 8:18 pm

Display image

Post 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.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Re: Display image

Post 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.
Arsench2000
Forum Commoner
Posts: 38
Joined: Sat Sep 15, 2007 8:18 pm

Re: Display image

Post 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 "; ???
Post Reply