客户端验证Javascript或服务器端验证PHP

我有一个表单,提交在数据库中输入的数据。是否建议同时执行客户端和服务器端验证?

I have a form which submits data which is entered in the database. Is is recommended to perform both client side and server side validation ?



 1 条回答