+ 1
PHP or JAVASCRIPT
Which is better to use in websites, PHP or JAVASCRIPT ?
7 Answers
+ 12
JavaScript! ^_^
+ 10
you need both for a website!!
HTML, CSS and JavaScript are user side language - for use on user's computer
PHP , SQL are server side.. - to use on server...
So.. if you host a website. and have server... you should know php too .. to take action on user requests on server...
while if you want to do something on user's device itself.. depending on what user does...and without communicating with server much... use JavaScript
+ 3
Both
+ 3
js-for use user interfaces part
php-sever side base operations
+ 2
just learn both
+ 2
Javascript front end and php or ruby or python or... backend
+ 1
Both and a lasagna, just in case. (I mean 10,000)