Set Variables in Php via the URL
So, i have a nifty User banner i made for the hotel, but the problem is that, it only works for me, because i set it to get the stuff 'WHERE username = 'John' in the sql.
How would i make it so that it shows other peoples when you add like /userbar.php?username=Rees etc to it?
Re: Set Variables in Php via the URL
Re: Set Variables in Php via the URL
Quote:
Originally Posted by
r63
Oh yeah, thats how to do the avatarimage cache thing.
Ok, thanks for the help, ill get on with it now. See how i progress.
Ok thank you, all done now with my userbar x]
Re: Set Variables in Php via the URL
Quote:
Originally Posted by
JohnHearfield
Oh yeah, thats how to do the avatarimage cache thing.
Ok, thanks for the help, ill get on with it now. See how i progress.
Alright, good luck, will you be releasing it or just using it on your hotel?
Re: Set Variables in Php via the URL
Quote:
Originally Posted by
r63
Alright, good luck, will you be releasing it or just using it on your hotel?
Er, think its just personal project at the moment, its on localhost so.