Hi,
Not sure if I understand.
You want to store a URL in your database table and output it on your page?
That's definitely possible.
| SitePoint Sponsor |

Hi,
Not sure if I understand.
You want to store a URL in your database table and output it on your page?
That's definitely possible.
How well do you know your JavaScript from your jQuery?
Check out SitePoint's latest JavaScript challenge
My blog
Hi pullo.
thanks, I think I've solved this issue. please look at it and see if it is correct?
<span class="ratings">Rating</span>
<img src="/img/rating'.$row['food'].'.png"/>
This is what I get, and in my /img/ file I have .png files from rating1.png to rating5.png, and the row[food] from 1-5 will select the respective pictures and display them.

Well done!
That looks great to me.
How well do you know your JavaScript from your jQuery?
Check out SitePoint's latest JavaScript challenge
My blog
Thank you Pullo, so much for aiding me in the process of creating my pages. Your help is greatly appreciated - if it wasn't for you, I don't know if I'll be able to finish it in timeThanks so much for your friendly help!
Do you mind if I use your name to reference you in my journal?

How well do you know your JavaScript from your jQuery?
Check out SitePoint's latest JavaScript challenge
My blog
Bookmarks