Log in

View Full Version : [Help] Select something from database and display as a image



Moh
01-01-2008, 06:07 PM
Well I don't think theres any of these around so I need help on how to make it.
I need it to work like the figure script every one used to have on there sites (untill habbo export thing came out)
What I need it to do is:
say the file name was called usershabbo.php, I need it so when you go to "usershabbo.php?user=jack" it will look in the database and look for the user name "jack" and will display the habbo image of the user "jack".

Thanks.

Jamie.
01-01-2008, 06:29 PM
Have a row setup for users,
ID Username Image

save the url in image,
do the mysql (not doing it for u)

then;
<img src="$r['image']">

the image collumn would be the ummmm url to image :)

Want to hide these adverts? Register an account for free!