Quick question about include files, If I have justhtml code I want to reuse can I just put the html code in an include file and then put an include statement in my php file to use it?
or do I have to set it up as a function in the include file that passes the html to the php file?
Include Files
Moderator: General Moderators
You can include any type of file you wish.
Just a simple...
Just a simple...
Code: Select all
<?php
include("FILE_LOCATION.EXT");
?>