What does PHP actually do? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What does PHP actually do?

I started learning HTML and CSS cause I wanted to build websites. And now PHP comes into play. Can I have a description of how it works please peeps.

23rd Jan 2018, 7:30 PM
Rubens Michel
Rubens Michel - avatar
3 Answers
+ 1
While HTML and CSS are used for structuring the webpage and js is used for making interactive webpages PHP is used for making login and signup systems work on websites, retrieve user info from databases, providing dynamic content and so on So basically PHP adds interactivity with the web server
23rd Jan 2018, 8:33 PM
the_code_genin
the_code_genin - avatar
+ 1
yeah, but js will be used on the client-side and php on the server-side.
23rd Jan 2018, 9:17 PM
M Pax
M Pax - avatar
0
so are js and php consequently doing the same job? cause both add interaction.
23rd Jan 2018, 8:35 PM
Rubens Michel
Rubens Michel - avatar