Hi,
I'm a beginner when it comes to PHP, such a newbie that I almost dared not to post this in the newbie forum at PHP builder. you'll laugh at me, I'm sure.
I've made easy scripts before and I'm fairly good at configuring things to my liking as long as I know where to start.
My dilemma now is that I want to reformat my site so that I don't have to use IFrames or frames anymore but PHP and layers instead. I'm sick of seeing iframes cutting the page and adding additional scrollbars. I've already made a main.php file which has layers, but I don't really know what to PHP to run where I for instance want main2.html to show.
Bottom line I want to type in the url ../.../main.php?x=main2.html to show my main.php but with main2.html on a layer and the same so that if I link to main.php?x=about.html, the about page will show in the main.php template. I'm not quite ready to script the entire site in PHP just yet, and as far as I could tell this could be sorted out fairly easy... I've tried a couple of things but will refrain from telling you what, to not make a complete fool of myself.
Oh and I also want main.php to show main2.html as a default
Any help or pointers to sites that DON'T teach you php from scratch(I've been to those and I know how to send mail with PHP and connect to MySQL) but are more related to what I'm asking for would be greatly apprecciated Especially the first