Jump to content

Archived

This topic is now archived and is closed to further replies.

arielmedel

includes problem

Recommended Posts

I saw a simple tutorial to use includes, I made this page http://wetmagazine.org/ruff/template.php

but 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?

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites
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>

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.