kee1108 Posted August 24, 2006 Share Posted August 24, 2006 Hi everyone,I just need some help, I want to know how to get a specific image from a local folder. I dont' mind one image, but if I have 32 images which is correspond to 32 sport teams, how can I make the code so that it will pick the right image correspond to the team and I only have 1 team.php setup.Thanks for any help. Quote Link to comment Share on other sites More sharing options...
trq Posted August 24, 2006 Share Posted August 24, 2006 You would pass the team name through the url. eg;[code]http://yousite/team.php?t=rangers[/code]Then within team.php you can retrieve the tema name using....[code=php:0]$team = $_GET['t'];[/code]Based on $team you can now retrieve your image and any other relevent data. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.