Which | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Which

i learning php and javascript can someone tell me which language is most usefull

24th Nov 2016, 7:16 PM
Vladeto
Vladeto - avatar
2 Answers
+ 2
JavaScript is universal : every browser uses it. It's mainly used for interactivity, but you can make a website without it (it won't be very fancy, that's all) PHP is used on the server side : it is used to generate HTML pages using data from a database and allows you to treat infos from forms and other means. It is what makes a website dynamic and not static (you don't write every line of HTML when you want to add content, you can manage accounts...). It can be replaced by other languages, though (Ruby and JS for instance). I would go for JavaScript first as it allows you to do some nice stuff quite easily and if you like it, you can use NodeJS for your server (it's more and more popular).
24th Nov 2016, 8:17 PM
Pierre Varlez
Pierre Varlez - avatar
+ 1
javascript in browser php on server
24th Nov 2016, 7:29 PM
Kamil
Kamil - avatar