Hi guys,
I have searched the forums, and I think I understand now but I would appreciate some clarification.
I’m just learning php and I thought as my first exercise I would create a header file with the doctype info etc. to include at the top of all my pages.
Is this correct:
[QUOTE]
The outer/calling page needs the “.php” extension.
and
[QUOTE]
The script/file being included/called can have either a php or html or even “*.inc” extension.
That being the case, I would have to change all my html pages to php.
If so, can I just change the html file extension to “
Also, does that mean it makes no difference to the function of the page weather it has either extention? I’m still trying to get my head around using php within html pages, and html within php pages/scripts – It all seems the same – sort of. ?
I did try it and it seems to work fine but I would like to make sure lest something goes wrong down the track.
If someone could sum it up in a way that makes sense and easily remembered that would be good.
Thanks.