Hello,
My website is here
Got another problem I have my layout linked together using a index.php using code like this:
<body>
<div id="maincontainer">
<div id="topsection"><?php include("http://www.indie-design.co.uk/topsection.html"); ?></div>
<div id="contentwrapper"><?php include("page2.php"); ?></div>
<div id="contentwrapper"><?php include("searchresults.php"); ?></div>
<div id="leftcolumn"><?php include("http://www.indie-design.co.uk/leftcolumn.html"); ?></div>
<div id="rightcolumn"><?php include("http://www.indie-design.co.uk/rightcolumn.html"); ?></div>
<div id="footer"><?php include("http://www.indie-design.co.uk/footer.html"); ?></div>
</div>
</body>
My main content page is page2.php, I have a search form in my leftcolumn.html and the results appear in the searchresults.php which is placed where my content page is (page2.php). At the moment it does this but still keeps the page2.php in the same place and puts the searchresults.php just under it.
Is there anyway to have only one of the page in the content place at once.
so I want the page2.php to load in the content place, then when a search is made, the searchresults.php, replaces the page2.php.
Can this be done?
Thanks