+ 2

Which one is better, PHP function or JavaScript function

Function

2nd Dec 2017, 4:17 PM
.Flash
.Flash - avatar
7 Answers
+ 4
Both are best options. We can't compare them. They serve different purpose. Php is script run from server room. Javascript is script run from website visitor's pc/phone browsers.
2nd Dec 2017, 5:05 PM
Calviղ
Calviղ - avatar
+ 2
They are used for different purposes, and they are both good options.
2nd Dec 2017, 7:56 PM
Learnsolo
+ 1
If you want to hide logic, use PHP. If you want the client to compute, use JavaScript.
2nd Dec 2017, 4:59 PM
User
+ 1
But which one is best for a sign up form?
2nd Dec 2017, 9:02 PM
.Flash
.Flash - avatar
+ 1
дзжжъъъъъыэпао глбоо.быыъъы.
3rd Dec 2017, 6:59 PM
Гапонов Артем
+ 1
Both of they are equally important in there own fields. They serve different purpose.
19th Dec 2017, 9:03 AM
Ogundipe Ibukun
Ogundipe Ibukun - avatar
0
Alright thanks
17th May 2018, 9:11 PM
.Flash
.Flash - avatar