Home  >  Article  >  Backend Development  >  提交表单的时候,表单的name属性和数据表字段名称是一样的,这样有什么不妥么?

提交表单的时候,表单的name属性和数据表字段名称是一样的,这样有什么不妥么?

WBOY
WBOYOriginal
2016-06-06 20:17:021485browse

提交表单的时候,表单的name属性和数据表字段名称是一样的,这样有什么不妥么?

回复内容:

提交表单的时候,表单的name属性和数据表字段名称是一样的,这样有什么不妥么?

你数据库的信息给前端透露得越多就越不安全,相对来说。

不知道啊,反正我基本都是一样的。怕自己弄混了。我也问一下,这有什么不妥吗?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn