Web Hosting Talk







View Full Version : problem with outputing HTML content with php


lobaloba9
01-21-2005, 05:40 AM
i want to allow my users to enter html code as the content for their intro page.

something similar to ebay which allows html description.

however, i tested my site.

if the html code is not complete

for eg.

<Table>

but no </table>

it will mess up my whole site.

anyway to solve this problem?

assistanz247
01-21-2005, 08:09 AM
Hi,

You can use html frame controls to display the pages or any html contents created by your users, which will not affect your website in case of any such errors in the user's html coding.

Carp
01-21-2005, 09:10 AM
look at <iframe> (I think that's what the tag is, havnt used it in a LONG time.)

lobaloba9
01-21-2005, 02:57 PM
but ebay does not use frame to solve this prob. it looks quite ugly to have the frame.

any way to solve this problem w/o using frames?