Yes-I Posted May 6, 2006 Share Posted May 6, 2006 Hi everyone,I am trying to get php file to display in a web page. But the web page is HTML.Here is the page www.yisquad-hq.com/home.htm and I am trying to display a file in a table, the php code to call that file is this<?phpinclude("http://www.yisquad-hq.com/Misc/ts/demo.php");?>But is does not display in the web page.My questions is, is there a way to get the demo.php file to display in a html web page table?Thanks for your cooperation in advance. Link to comment Share on other sites More sharing options...
Little Goat Posted May 6, 2006 Share Posted May 6, 2006 the page has to have a .php extension for the include to work.there are some other methods:http://www.dynamicdrive.com/dynamicindex17/ajaxincludes.htmif you want to include a php file and still have it doo it's stuff, yoiu have to have a .php extension. Link to comment Share on other sites More sharing options...
Jack McKalling Posted May 7, 2006 Share Posted May 7, 2006 Or use one of those nasty frames Link to comment Share on other sites More sharing options...
Yes-I Posted May 7, 2006 Author Share Posted May 7, 2006 Great info all, I used the .php extension and it displayed right away.Thanks for the prompt response. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now