GetDotted Domains

Viewing Thread:
"Displaying jpg pic with PHP"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Sun 08/02/09 at 22:55
Regular
"wheres the Any Key?"
Posts: 161
hiya all

i have a webpage that displays a players profile when his name is selected from a drop down menu, the profile info is retrieved from a Database table and displayed, i`d like to display the players picture as well, but not sure on how to do this.

At present i have the pics stored in a folder on the webserver called profilepics.

Could anyone help me with the code to select the correct picture from that folder when retieving the players profile from the database?

Or should i be storing the pic in the database? (if so even more help is needed.)

Any ideas or help would gr8.

Many thx in advance.
Fri 13/02/09 at 17:34
Regular
"wheres the Any Key?"
Posts: 161
Lo Eccles

Thx for spreading some light and also the advice.
Fri 13/02/09 at 17:47
Regular
"wheres the Any Key?"
Posts: 161
JimTheDog wrote:
> Hi Tappet,
>
> Next time I'll actually read the question properly. I thought
> you were trying to create a combo box which displayed a members
> name and a photo in the list - it's this which I don't think can
> be done.
>
> Pleased you got sorted anyway.
>
> JTD

Lo JTD

Maybe your mis-understanding was due to my poor explaination, but no worries cos its all sorted now, plus ive also learnt that you can not create a combo box which displayed a members name and photo in a list.

So thx for your incorrect but interesting advice.

Have a good wkend.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

The coolest ISP ever!
In my opinion, the ISP is the best I have ever used. They guarantee 'first time connection - everytime', which they have never let me down on.
Top-notch internet service
Excellent internet service and customer service. Top-notch in replying to my comments.
Duncan

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre
Feedback Close Feedback

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.