Hi all,
I'm very new to PHP and I have a quick and simple answer that I would appreciate a response to.
When using php includes on a webpage, I understand you need to change the ending of the .html file to .php? I've tried this and are there other changes that need to be made so that the include will show up?
Are there a couple different methods of using includes?
Thanks in advance.no, that is all.
also make sure your server supports php.The include files may have any extension that you want. They can be named *.pkd files for all that matters. As long as you keep the extension on the include the same.
include "somerandompage.pkd";
Would work fine.
BleuIce
I'm very new to PHP and I have a quick and simple answer that I would appreciate a response to.
When using php includes on a webpage, I understand you need to change the ending of the .html file to .php? I've tried this and are there other changes that need to be made so that the include will show up?
Are there a couple different methods of using includes?
Thanks in advance.no, that is all.
also make sure your server supports php.The include files may have any extension that you want. They can be named *.pkd files for all that matters. As long as you keep the extension on the include the same.
include "somerandompage.pkd";
Would work fine.
BleuIce