Well I have a different approach to my original problem as I was a bit aimless the first time.
the url: gallery.php?section=illustrations
So I have two files:
"gallery.php" which is the page holding the layout and the code to generate table rows dynamicaly, suing the information from the second file.
and
"Illustrations.php" which contains the data array to be displayed in gallery.php
For the Illustrations file, I imagine I could simply use something like:
$images = array("illustration-1",
"illustration-2",
"anotherone",
"yetanother",
"itneverends")😉
In the gallery.php file, the above variables would be passed to a function that would generate a new row for each array element.
I hope this cleared things up. Then there is another issue, but I will get to that once I figure this one out... I hope you can help!
thanx