arielmedel Posted October 17, 2006 Share Posted October 17, 2006 I saw a simple tutorial to use includes, I made this page http://wetmagazine.org/ruff/template.phpbut I want it that when a button is clicked only the body part, named page.php, changes, instead all the page loads another content page.Any help please? Link to comment https://forums.phpfreaks.com/topic/24216-includes-problem/ Share on other sites More sharing options...
b_angelr Posted October 17, 2006 Share Posted October 17, 2006 In the link code you need to specify i wich frame it will be opened[code]<a href="#" target"framename">your image here</a>[/code] Link to comment https://forums.phpfreaks.com/topic/24216-includes-problem/#findComment-110085 Share on other sites More sharing options...
arielmedel Posted October 17, 2006 Author Share Posted October 17, 2006 ok, this is the div wher ethe content should appear<div class="body">your content goes here<?php @ include ("page.php"); ?></div>how can I give it a name? just name=body? like this?:<div class="body" name="body">your content goes here<?php @ include ("page.php"); ?></div> Link to comment https://forums.phpfreaks.com/topic/24216-includes-problem/#findComment-110088 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.