Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

including a whole html page with php

probably stupid question...

12:16 am on May 18, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:May 8, 2002
votes: 0

Hello there, I'm a newbie to php and trying to "translate" a whole site into php. On this site there is a large table which

1. has to be edited by a rather html illiterate person on a daily base
2. has to be included, as it is, in several language versions of the site

Problem 1 was basically solved by purchasing Marcomedia Contribute which easily lets you make all kinds of changes on the site online, without having to understand html.

Problem 2 I wanted to solve by creating the table once, saving it as .html and then including it into the various language versions normally with php include.

The thing is that Contribute can't read the table without the <html>,<head> and <body> tags, so I included them with the table. But of course now on the finished php page I have these tags somwehere in the middle of the page, where the table is included. Certainly not a "clean" solution, but do I have to expect any problems with this?

Thanks for any advice you can give me on this!

2:08 am on May 18, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 27, 2003
votes: 0

Re-create the table as an isolated object with the <html> tag etc surrounding it. Then contribute will accept it.