php and html

General discussions related to php

Moderators: macek, egami, gesf

catalyst4500
New php-forum User
New php-forum User
Posts: 1
Joined: Mon Mar 24, 2014 1:48 pm

php and html

Postby catalyst4500 » Mon Mar 24, 2014 1:56 pm

Hello,
Can I have in the same web folder (at the host website) .php files and .html files linked together, or all of them should have the same extension, php or html??

Thanks

adicooldude
New php-forum User
New php-forum User
Posts: 10
Joined: Mon Apr 07, 2014 2:26 am

Re: php and html

Postby adicooldude » Mon Apr 07, 2014 3:30 am

yup

seandisanti
php-forum Fan User
php-forum Fan User
Posts: 838
Joined: Mon Oct 01, 2012 12:32 pm

Re: php and html

Postby seandisanti » Tue Apr 08, 2014 7:18 pm

You can use either or both, but best practice is to stick with .php for consistency.


Return to “PHP General”

Who is online

Users browsing this forum: No registered users and 2 guests