12 AnswersNew Answer
Better is all questionable. For less complex experience, i would say PHP. But if you have some experience on JS, doing it at Node may sound better for you
I think js is better among all because it is better to validate the form on the local browser rather than sending query to the server...and then validating the details..
I think PHP but this is not an expert opinion.
Matheus Rodrigues I didn't read your comment about modifying js before and if it's possible to send invalid data. I answered this in my main answer, but to specifically answer that, yes it is. They can modify and bypass your validations, which is why it is good to have client side validations for speed, and the same (+ more) validations on the server side, in case the client code is modified.
thanks Igor Makarsky you facilitated a lot !
JS Coder i was hopping for this answer haha ! thanks man
No doubt PHP very modernized and sophisticated and widely recommended as per safety measures
Thanks guys, but its true that php is more safe ? someone told me that anyone can change the code of js and put bad information, it is true ?
I would say PHP better