Jump to content

Archived

This topic is now archived and is closed to further replies.

nicholasdion

Something Simple - But i am newb

Recommended Posts

Hey, i have a guestbook uploaded to my webserver. I want to include and display my guestbook.php into my html document. I know this has to be simple but i just dont know how to do this. Someone please help me out. Ive tried a few things but it doesnt seem to work.

Share this post


Link to post
Share on other sites
At least give us some clues.

For a start, how is your guestbook data stored?

What have you tried?

Share this post


Link to post
Share on other sites
this is a the guest book http://www.dublevision.com/gb/guestbook.php
i want it to be displayed in an html document so it is part of the layout i have on my site.

Share this post


Link to post
Share on other sites
[code]
<?php
include('guestbook.php');
?>
[/code]
put that wherever you want the guestbook 2 go in your layout

Share this post


Link to post
Share on other sites
You will have to change the html doc name so its extension is ".php" and not ".html" for the above code to be processed.

Share this post


Link to post
Share on other sites
no, seriously.  that's THE way to do it.  post your code so we can see what went wrong.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.