+ 2
Which one is better, PHP function or JavaScript function
Function
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.
+ 2
They are used for different purposes, and they are both good options.
+ 1
If you want to hide logic, use PHP. If you want the client to compute, use JavaScript.
+ 1
But which one is best for a sign up form?
+ 1
дзжжъъъъъыэпао глбоо.быыъъы.
+ 1
Both of they are equally important in there own fields. They serve different purpose.
0
Alright thanks