Hello Everybody,
I have a web page in which I want to load images and content on the basisi variables which are mentioned in the url with the GET method. So what i want to do is that I want to get a variable from the url like this
http://www.xyz.com/int.php?cat=music
So, if the page gets this url, the php code should get a variable which has the value of music and then load the image and content associated with music in the page.
Can someoneplease tell me how to do it.
I am not an expert in PHP but understand its syntax but I cannot figure it out.
Thanks in advance.
Karan.
Loading Images and content with PHP
Moderator: General Moderators
-
karansawan
- Forum Newbie
- Posts: 1
- Joined: Mon Sep 29, 2008 12:34 pm
- The_Anomaly
- Forum Contributor
- Posts: 196
- Joined: Fri Aug 08, 2008 4:56 pm
- Location: Tirana, Albania
Re: Loading Images and content with PHP
I'd imagine that we need a bit more information. You said load images and content. Could you organize the content and images into a PHP page that you could then include/require based on the querystring?