Posts: 13
Threads: 3
Joined: Jul 2010
Trying to include file on customers websites footers: Dinamic credit link E.t.c
by this:
Code:
<? php require_once("file.html") ?>
not working...somebody?
Posts: 679
Threads: 80
Joined: Nov 2009
Not 100% positive but you may try removing the space between "<?" and "php" and add a ";" after the last ")" should look like:
Code:
<?php require_once("file.html"); ?>
Posts: 13
Threads: 3
Joined: Jul 2010
I have a try...not working
i even did it via "include_once" or just "include" .... the same thing
Posts: 972
Threads: 27
Joined: Aug 2009
staseo Wrote:I have a try...not working
OWS_Matthew Wrote:Not 100% positive but you may try removing the space between “<?†and “php†and add a “;†after the last “)†should look like:
Code:
<?php require_once("file.html"); ?>
Matt has the right code there, and it should work. If it doesn’t work PHP should show you an error explaining why not. If you’re not seeing an error and you’re doing this in GetSimple be sure to
enable debug mode.
Posts: 13
Threads: 3
Joined: Jul 2010
@Zegnåt - Thank You, works