我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Drupal Form API保存到数据库

I have been reading the quickstart guide about From API's: http://drupal.org/node/751826

I understand how it all works, but don't understand how to save the data entered into the forms into my own database.

Is there a similar page to the form api quickstart showing how to integrate it with a database?

In the link you gave us go to the section "Submitting Forms", you have in there an example to do some insertions in the database.

You can learn more about the SQL management in Drupal 6 on this page > http://api.drupal.org/api/drupal/includes--database.inc/group/database/6

近期文章

  • PHP本地值/主值
  • 缓存mysql查询结果?
  • 欧元(html特殊字符)签到selenium / phpunit?
  • 从PHP脚本更改页面?
  • 没有使用所有参数的htaccess
  • 当用户输入错误代码时,不会弹出消息
  • 重定向后丢失会话变量
  • base64_encode和解码转义字符问题
  • 使用mcrypt,PHP和MySQL进行加密
  • mysql sha256密码哈希编辑疯狂!
  • PHP GD - 使用Alpha替换颜色可为图像提供边框
  • 如何编写php单元测试来测试堆栈功能?
  • php和jquery图像选择器
  • 哪个php框架有一个广泛的帮助函数库(对于懒人)? [关闭]
  • 国家访问限制
  • JQuery Mobile登录页面
  • 为了获得更好的性能,最好做些什么?
  • 在线文件编辑器
  • 以csv格式下载的数字格式
  • 通过PHP发送电子邮件的选项

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华