+ 6
Do I need to learn HTML and then PHP
is PHP just another part of html or something?
5 Respuestas
+ 3
Yes.
HTML is the backbone of front-end web development, and PHPis the most popular server-side script. ... PHP is a general purpose, interpreted, programming language;HTML is a markup language.
+ 7
It's not part of html. But most often used with it.
It's designed for web development.
When you connect to PHP file it sends you html response from it. For example
<h1><?php echo "Header" . "!" ?></h1>
Response to your browser would look like this
<h1>Header!</h1>
The PHP code is executed and the response is generated in your own server which allows you access to your local files like database.
+ 7
PHP is very web based, so I would suggest that if you want utilize PHP fully, that you also learn HTML,CSS,JS!
Though perhaps you can wait until later to learn those.
+ 1
Thx for answers!
+ 1
yes I think