How to include php script
Posted: Tue Aug 22, 2006 1:42 am
Hi,
I have a guestbook script that I would like to include it's entry into my cms pages. I set up the user defined tag as {guestbook}. In it, I wrote something like:
Then in the template page, I inserted the {guestbook} tag. But when I preview the page, I get an error message reading:
I double checked the coding and tested it with a regular html web page and the guestbook stats show up at my website perfectly fine but it won't work with cms script. What steps am I missing? 
I have a guestbook script that I would like to include it's entry into my cms pages. I set up the user defined tag as {guestbook}. In it, I wrote something like:
Code: Select all
include("/path/to/public_html/guestbook/stats.php");
@include('/path/to/public_html/guestbook/inc/database.inc.php');Code: Select all
Table 'tani_record.visitors' doesn't exist