+ 3
Can I use just php to create websites, or I must use html?
please explain to me the diffrence between html and php,is php a complement to html or i can just create a website with php without having to use html?
12 Respuestas
+ 9
PHP works like a Bridge between Front End (Web Pages You See) and the Back End (Typically a DataBase).
You Have to Design Front End Through HTML Css JS.
+ 5
thanks for the question and these answers, learnt a lot
+ 4
I think HTML is the primary language for creating a website not PHP
+ 3
For the server side programming, you need php. But for the client side you have to use html.
+ 3
no @kibrom Its a Server Side Scripting Language.
We can NEVER say its A Web Server.
A Web Server is Where you Keep all you Files, and Browser Request files from web server.
+ 1
ahh ok ,that's exactly what i needed to know,thanks a lot.
+ 1
PHP is what works within a webserver to deliver HTML-formatted content to your web-browser. The content seen as a web-page in the browser.
HTML is mandatory but PHP might be replaced with another server-side script engine such as Python (you would heard about Django) or JavaScript (Node.js).
0
HTML is the spine of all websites , or of internet itself and php is just a language which defines that spine ways of work to let the website be interatctive.
0
PhP and HTML is NOT the same thing. PhP communicates with databases for example. HTML is the structure of the website. It's like comparing the structure of a house and the Internet cord.
0
I think it would be best if you used php the way it was meant to be used. Use HTML to create the content of the website, CSS for the style of the website, javascript to make it more interactive. Then if you want to implement a database use SQL and use PHP to connect that database with your website. I guess you could use php for other things as well, but dividing your problems is going to make your life easier and your code easier to read and maintain
- 1
php is a web server