JavaScript is more preferable or PHP to embed code in HTML? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

JavaScript is more preferable or PHP to embed code in HTML?

24th Oct 2016, 9:48 AM
Vipra Chudasama
Vipra Chudasama - avatar
10 Answers
+ 4
php is shit, go for node.js
25th Oct 2016, 8:43 PM
Aaron Sarkissian
Aaron Sarkissian - avatar
+ 3
javascript is more clear and easy.once you learn it, the php will be a piece of cake
25th Oct 2016, 7:57 PM
Suzie
Suzie - avatar
+ 2
thank you
3rd Nov 2016, 6:12 AM
Vipra Chudasama
Vipra Chudasama - avatar
+ 1
As you can see, it is a matter of opinion at some level. If you work better in one than another, use the one you're better at or that you like more. I personally prefer to use JavaScript because I can understand it better, but many others feel differently
2nd Nov 2016, 8:29 PM
Errenium
Errenium - avatar
+ 1
php is a server language and javascript a client language. they don t have same function at base.
13th Nov 2016, 2:33 PM
François Leborgne
François Leborgne - avatar
0
php is best.go with php
25th Oct 2016, 6:12 PM
Rasheed Khan
Rasheed Khan - avatar
0
ph p is server-side script and have more security
9th Nov 2016, 6:14 PM
alirexa
0
but JavaScript is well and nice
9th Nov 2016, 6:15 PM
alirexa
0
Anything on client side(javascript) can be easily manipulated because its less secured due to the fact that the codes can be viewed. On server side(php), Its more secured, it can not be easily manipulated because you can not see its source code.
13th Nov 2016, 7:34 PM
Franky BrainBox
Franky BrainBox - avatar
0
рнр генерит страницу на стороне сервера, а джава работает на стороне клиента
15th Jan 2017, 1:55 PM
Володимир Нарижний
Володимир Нарижний - avatar