1
THCowboy
Can I put includes into html wrapper?
  • 2006/7/12 21:24

  • THCowboy

  • Just popping in

  • Posts: 84

  • Since: 2005/6/28


If I do this... should it work?

Quote:

<?php
include("../../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 0;
?>
<html>
<body>


include goes here

</body>
</html>
<?
include(XOOPS_ROOT_PATH.'/footer.php');
?>

or do I need to make it shtml instead of html?
I tried both and neither seems to work.

Any thoughts?

Thanks