dongshu4221 2017-01-31 06:27
浏览 32

数据表搜索给出错误

I'm getting a warning saying requested unknown parameter, and after I press ok the search is not working correctly.

enter image description here

any solution for this

DataTable warning .......... Requested unknown parameter

Please find how i created the table

<table class="dataTable border bordered striped" data-role="datatable" data-auto-width="false" id="brandTable">
  <thead>
    <tr>
      <td style="width: 20px">
      </td>
      <td class="sortable-column sort-asc">ID</td>
      <td class="sortable-column">Brand Name</td>
      <td class="sortable-column">Account Manager</td>
      <td class="sortable-column">Date Updated</td>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($fw->customer($_SESSION['USERID'])->getAllBrands() as $v) { ?>
    <tr>
      <td>
        <label class="input-control checkbox small-check no-margin">
          <input type="checkbox">
          <span class="check"></span>
        </label>
      </td>
      <td>
        <?php echo $v['id']; ?>
      </td>
      <td>
        <a href="updateBrands.html?id=<?php echo $v['id']; ?>">
          <?php echo $v['brandName']; ?>
        </a>
      </td>
      <td>
        <?php echo $fw->customer($_SESSION['USERID'])->getAccountManagerbyId($v['accountManager_id']); ?></td>
      <td>
        <?php echo $v['dateCreated']; ?>
      </td>
    </tr>
    <?php } ?>
  </tbody>
</table>
  • 写回答

1条回答 默认 最新

  • douxian5076 2017-01-31 06:41
    关注

    You have an undefined or null value at 3 column of 35 row. You should pass some value at that place .

    评论

报告相同问题?

悬赏问题

  • ¥15 网络设备配置与管理这个该怎么弄
  • ¥20 机器学习能否像多层线性模型一样处理嵌套数据
  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题
  • ¥15 matlab不知道怎么改,求解答!!
  • ¥15 永磁直线电机的电流环pi调不出来
  • ¥15 用stata实现聚类的代码
  • ¥15 请问paddlehub能支持移动端开发吗?在Android studio上该如何部署?
  • ¥20 docker里部署springboot项目,访问不到扬声器