Jump to content

[SOLVED] Please help, sending variables but remain on same page?


peuge

Recommended Posts

Ok so I have an image gallery with three parts

1)menu.php ---> which dynamically creates categories depending on the folders in images/

2)thumbs.php ---> which shows the pics in selected category as thumbs

3)gallery.php ---> which includes the above two .php files and puts them in a table with a large image in the middle which changes when the user clicks on a thumb.

 

This all works perfectly.

Now I have to create an index.php which has a main menu (part of which there is a gallery link).

Now when the gallery is displayed in a content table on index.php and I click on one of the thumbnails or a categorie it loads only gallery.php and nothing else. This is because all of my href's in menu.php and thumbs.php send the variables to gallery.php, now do  I have to change this so they send the variable to index.php then to gallery.php or is there another way around this so that when the user clicks on a thumbnail it opens up the big picture but still keeps the main page of my site?

 

I hope I explained this ok.

 

Thanks in advance

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.