nicholasdion Posted October 28, 2006 Share Posted October 28, 2006 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. Link to comment https://forums.phpfreaks.com/topic/25424-something-simple-but-i-am-newb/ Share on other sites More sharing options...
Barand Posted October 28, 2006 Share Posted October 28, 2006 At least give us some clues.For a start, how is your guestbook data stored?What have you tried? Link to comment https://forums.phpfreaks.com/topic/25424-something-simple-but-i-am-newb/#findComment-116009 Share on other sites More sharing options...
nicholasdion Posted October 28, 2006 Author Share Posted October 28, 2006 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. Link to comment https://forums.phpfreaks.com/topic/25424-something-simple-but-i-am-newb/#findComment-116015 Share on other sites More sharing options...
Skatecrazy1 Posted October 28, 2006 Share Posted October 28, 2006 [code]<?phpinclude('guestbook.php');?>[/code]put that wherever you want the guestbook 2 go in your layout Link to comment https://forums.phpfreaks.com/topic/25424-something-simple-but-i-am-newb/#findComment-116017 Share on other sites More sharing options...
Barand Posted October 28, 2006 Share Posted October 28, 2006 You will have to change the html doc name so its extension is ".php" and not ".html" for the above code to be processed. Link to comment https://forums.phpfreaks.com/topic/25424-something-simple-but-i-am-newb/#findComment-116022 Share on other sites More sharing options...
Skatecrazy1 Posted October 28, 2006 Share Posted October 28, 2006 oh yeah, that too (oops) Link to comment https://forums.phpfreaks.com/topic/25424-something-simple-but-i-am-newb/#findComment-116040 Share on other sites More sharing options...
nicholasdion Posted October 29, 2006 Author Share Posted October 29, 2006 hmmm i tired this and it didn't seem to work. Can someone please help me out!!! Link to comment https://forums.phpfreaks.com/topic/25424-something-simple-but-i-am-newb/#findComment-116130 Share on other sites More sharing options...
Skatecrazy1 Posted October 31, 2006 Share Posted October 31, 2006 no, seriously. that's THE way to do it. post your code so we can see what went wrong. Link to comment https://forums.phpfreaks.com/topic/25424-something-simple-but-i-am-newb/#findComment-117119 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.