+ 1
Difference between JS and PHP ?
can someone please make me understand about this difference? because most of the things just like variables, conditions etc are same in these languages
4 Answers
+ 2
All i can say is a front end scripting language (js) vs a backend programming language(php)
+ 1
Well, itâs not exactly correct to compare and contrast PHP and JS since both have pretty much different purposes. For example, PHP is server side (what you donât see) and JavaScript is client side (what those who visit a site see). Thereâs whole more differences too. Here are a few resources on that: https://www.guru99.com/php-vs-javascript.html
https://www.upwork.com/hiring/development/php-vs-javascript/
Hope that helps! If that doesnât help you understand better, let me know so I can provide better resources.
+ 1
A good answer @luciel
0
Just as a comment: Javascript can be used in Frontend and in the Backend.
Since the emergence of technologies like Node.js you can use it from both sides without problems.