So the basics of what am trying to achieve are as follows
USER VISITS GALLERY PAGE (gallery.php)
CATEGORIES use ( <?php displayCategories($phpfile);?> )
(ONCE CLICKED)
\/ display
THUMBNAILS use ( <?php displayList($phpfile, "thumbnail");?> )
(ONCE CLICKED)
\/ display
IMAGES use ( <?php displayImage($id);?> )
I thought there might be a way to activate these functions when a user clicks on the appropriate section.
Hope this makes sense.
Thanks