0
Which
i learning php and javascript can someone tell me which language is most usefull
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).
+ 1
javascript in browser php on server