+ 2

What is the Difference Between PHP and Javascript?

I know that PHP and Javascript are both "front end" programming languages, but what makes them different from one another? Is one better suited for user interface and another better for user interaction? What should you start off if front-end is what you ultimately want to do? Thanks for answering!

15th Apr 2018, 10:49 PM
Dan L'Episcopo
Dan L'Episcopo - avatar
2 Answers
+ 1
PHP is mostly used as a back end programming language. Start with JavaScript if you want to start with front end development.
15th Apr 2018, 11:23 PM
Emma
+ 1
php is used as back-end to make a connection between the user and the server while javascript is only executed on the user's browser (unless you are using node.js which is a javascript library that allows you to write javascript in back-end)
16th Apr 2018, 8:00 AM
Dominique Abou Samah
Dominique Abou Samah - avatar