+ 2
What is difference of PHP and JavaScript. What I can make somethings with PHP
2 Respostas
+ 7
PHP is used server-side.
Javascript is used client-side.
With PHP you do things that the user shouldn't see.
e.g
You have a form with a input box, and you want to store the value of the inputbox in a Database, then you get the values of the form with php and then store it in your Database.
Javascript can be used to draw a canvas or to animate HTML elements.