php include html on home page - what is best way to use?

DLJonsson

Well-known member
I'm attempting to include html files on a dadabik custom homepage.

When ever I attempt to add

<?php include 'include/part2.html';?>

Using custom pages editor it converts that line to a text line ie.

<p>?php include 'include/part2.html';?</p>

or



What is the correct way to include html into a dadabik custom home page?

Please advise
 

DLJonsson

Well-known member
Looking at the requirements closer what I need to do is use a custom php for a home page.

Glad to say that worked as described, on the custom page front end, using example.php
as a starting point.
 
Top