DaDaBIK
This forum is devoted to the discussion about the software DaDaBIK database front-end
the PHP Database application generator for MySQL, PostgreSQL and SQLite; also available for Wordpress.

Welcome! Log In Create A New Profile

Advanced

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

Posted by DLJonsson 
php include html on home page - what is best way to use?
March 31, 2019 10:29AM
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
<!--?php include 'https://harpercollection.info/include/customhomepage.html';?-->;


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

Please advise

PHP Version 7.0.32
ionCube Loader v10.2.4
Apache version 2.4
MySQL 10.1.33-MariaDB
Enterprise version 9.2.
Re: php include html on home page - what is best way to use?
March 31, 2019 11:13AM
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.
Sorry, only registered users may post in this forum.

Click here to login