Jump to content

include


thibo1025

Recommended Posts

is it possible to use the include tag like an iframe?What I mean is that I want to create links that will chrage a page in my include tag with something like this:

<html><head><title></title></head><body><a onClick="$page = 1.html">1 </a><a onClick="$page = 2.html">2 </a><?php include($page); ?></body></html>

Link to comment
Share on other sites

ahh..i tried that with ajax once..and it didn't work when i had a contact page and it needed to process the information on a seperate php page.i cant remember where i got the script..but it was ok..not that great..needed some work doing to it to make it easier.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...