0

Need help with PHP

Hey everyone! I just started learning some php and was wondering if it is possible to keep all your php in different file than html. I would like to have a separate php file for contact us form section and then a separate file for some info that will also go through another form. Can it work like that?

4th Jun 2018, 6:20 AM
J. Le Roux
J. Le Roux - avatar
2 ответов
+ 7
read about include and .php files :) + MVC
4th Jun 2018, 6:56 AM
Jakub Dubański
Jakub Dubański - avatar
+ 2
read something about ajax. that way you have html files and can use php files for requests only saves some resources
4th Jun 2018, 7:31 AM
Lexfuturorum
Lexfuturorum - avatar