Page 1 of 1

Loading Images and content with PHP

Posted: Mon Sep 29, 2008 12:45 pm
by karansawan
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.

Re: Loading Images and content with PHP

Posted: Mon Sep 29, 2008 1:08 pm
by The_Anomaly
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?