Topic: Gallery PHP

I have a page that I run using php, I am not a veteran php'er at all. the site is www foolsofoz com. For example the main page is www foolsofoz com/index php. All of the pages are php and if I like to a page I link it by using index php?id=(Page). I cannot get the simple gallery to work like this. Even after I run the simplegallery and the index htm file is made, I re-name it and put the file in the main directory and label it as php. Dreamweaver asked me to update links and i did so. Any help would be greatly appreciated.