如何将数据发送到 CMS 中的数据库变得简单
我对 CMS MAde Simple 还很陌生。我无法理解如何 数据可以保存到数据库。我认为它在 smarty 框架中。
I am quite new to CMS MAde Simple. I am not able to understand how the
data can be saved to database. I think its in smarty framework.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在数据库中存储表单数据实际上是 FormBuilder 模块的内置功能。
为此,请在表单中添加一个新字段,然后选择“*将结果存储在数据库中”作为字段类型。数据将以 XML 格式存储在 [PREFIX]_module_fb_formbrowser 数据库表中。
Storing form data in your database is actually a built-in feature of the FormBuilder module.
To do this add a new field to your form, and choose "*Store Results In Database" as the type of field. Data will be stored in an XML format in the [PREFIX]_module_fb_formbrowser database table.
它使用 ADOdb 作为数据库的“接口”。基本上 CMSMS 的开发人员已经编写了用于更新和删除内容的
SQL 语句
。我真的很抱歉,但这是一个非常广泛的话题。 CMS 的实际目的是减轻用户真正了解这些内容的负担。我建议您首先阅读一些有关 PHP、SQL 的内容,然后再提出一个更具体的问题。SQL
PHP
CMS 变得简单文档
It uses ADOdb as an "interface" to the database. Basically developers of CMSMS already wrote
SQL statements
for update and delete content. I am really sorry but this is a very wide topic. The actual purpose of a CMS is to remove the burden from the user to actually know these kinds of stuff. I suggest you first do some reading on PHP, SQL and then come back with a more specific question.SQL
PHP
CMS Made Simple Documentation