Please have a try and you will never see the error
$rows = array();
/*while($row = db_fetch_object($result)) {
$rows[] = $row;
}*/
foreach ($result as $row) {
$rows[] = $row;
return $rows;
Please also try to change those:
$result = db_query("select * from {files} where fid = %d", $val['_fid']);
while ($data = db_fetch_object($result)) {
$thefile = $data;
}
to
$query = db_select('files', 'f')
->fields('f')
->condition('fid', $val['_fid']);
$thefile = $query->execute()->fetchObject();
相关推荐
drupal9.0.1全新版本让你刺激不已,他*的下个东西这么难的马。***&&&%%¥¥##
drupal_6_api.chm 英文的. 要的直接下载.
drupal_5_api.chm 英文的.要的下载.
DrupalCMS antique_modern
参考中文名:Drupal 7 专业开发 内容摘要:深入讨论Drupal核心知识,建立模块及优化性能,安全性等,是Drupal开发人员的首选教程 作者:Todd Tomlinson、John K. VanDyk
Drupal汉化filefield_paths-zh-hans
导入DB 9 德鲁帕尔银行达拉多脚本9安装$ composer require adrianodemoura/import_drupal_db_9执行重要事项$ bin/import阿朱达$ bin/import --helpRecuperar banco原创$ bin/import --restore* Necessário que ...
Drupal安装包,官方包,无毒,请放心食用。
如何用drupal6搭建sns网站 sns概念 所需要的模块以及对比选择
Acquia drupal的初学者资料 Acquia Drupal is a commercially supported distribution of the open source Drupal [http://acquia.com/what-is-drupal] social publishing system. A packaged collection of the ...
主要为大家介绍了drupal使用hook_form_alter()修改表单的实现方法,包括了修改多个表单与修改特定的表单,非常实用,需要的朋友可以参考下
Drupal_1 Drupal_1 Drupal_1 Drupal_1 Drupal_1 Drupal_1
对drupal的hook函数进行详细的介绍, 编程时的好帮手
主要为大家介绍了Drupal中hook_theme函数用法,可以实现对drupal主题的灵活定制,对于drupal建站来说非常具有实用价值,需要的朋友可以参考下
Drupal backup_migrate(备份迁移)模块的汉化
【项目资源】:包含前端、后端、移动开发、操作系统、人工智能、物联网、信息化管理、数据库、硬件开发、大数据、课程资源、音视频、网站开发等各种技术项目的源码。...【项目质量】:所有源码都经过严格测试,可以直接...