+ 2

How to relate php file with html file

3rd Dec 2016, 12:37 PM
Ahmad Rauf
Ahmad Rauf - avatar
2 Respuestas
+ 3
Could you add a little more to your question? I can't tell if you want to know: 1. the difference between php and html 2. How to initially get php working on an html page (this depends on the server environment) 3. Once working, how to show data in an HTML page with some php examples... 4. How to use includes...etc. I'm offline for a little while but if you clarify someone else may be able to help.
3rd Dec 2016, 1:10 PM
Kirk Schafer
Kirk Schafer - avatar
0
.PHP file supports the following: • HTML, CSS, JAVASCRIPT, PHP, SQL That means you can use all of the above in a .PHP file, so when you make a website you can basically use .php only even if its just HTML code. but you will need a webserver(Apache, Nginx) in order to execute php codes.
3rd Dec 2016, 1:15 PM
Nedim Kanat
Nedim Kanat - avatar