+ 1
JavaScript is more preferable or PHP to embed code in HTML?
10 Answers
+ 4
php is shit, go for node.js
+ 3
javascript is more clear and easy.once you learn it, the php will be a piece of cake
+ 2
thank you
+ 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
+ 1
php is a server language and javascript a client language. they don t have same function at base.
0
php is best.go with php
0
ph p is server-side script and have more security
0
but JavaScript is well and nice
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.
0
рнр генерит страницу на стороне сервера, а джава работает на стороне клиента