Jump to content

Archived

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

lostlee

Placing an html file into the middle of a page

Recommended Posts

I want to put a document into about the middle of the current page.  Is there a way to do that?  It looked to me like the header(location_______) might work but I have to refresh myself in using php.  I haven't used it in about a year but want to get back to it.

Thanks

Share this post


Link to post
Share on other sites
header('Location: page.html'); will redirect to the specified page

what you want is include('page.html');

it will display where ever you put the include at

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.