+ 2
How to relate php file with html file
2 Respostas
+ 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.
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.