Changing an image depending on which page is loaded

Hi,

I have a php page called reward_cat.php this page is loaded depending on which button is pressed. So if button 1 is pressed reward_cat.php?p=6 is loaded, if button 2 is pressed then reward_cat.php?p=7 is loaded. Currently they all have the same main image but I would like to load a different image each time (images are all the same size) How do I go about this. Hope I’ve explained myself ok.

Any help or assistance would be much appreciated.

Many thanks in advance

James

Sponsor our Newsletter | Privacy Policy | Terms of Service