Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/codeigniter/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 带有codeigniter和facebox插件的querystring_Php_Codeigniter_Facebox_Request.querystring - Fatal编程技术网

Php 带有codeigniter和facebox插件的querystring

Php 带有codeigniter和facebox插件的querystring,php,codeigniter,facebox,request.querystring,Php,Codeigniter,Facebox,Request.querystring,我是词的初学者, 我使用facebox插件在CodeIgniter中加载页面[查询结果], ie从表中选择所有数据。 工作正常,, 问题是我只需要显示特定日期的数据,即来自用户输入的数据 我的代码是: <script type="text/javascript"> jQuery(document).ready(function($) { $('a[rel*=facebox]').facebox({ loadingImage : '<?=bas

我是词的初学者, 我使用facebox插件在CodeIgniter中加载页面[查询结果], ie从表中选择所有数据。 工作正常,, 问题是我只需要显示特定日期的数据,即来自用户输入的数据

我的代码是:

<script type="text/javascript">
    jQuery(document).ready(function($) {
      $('a[rel*=facebox]').facebox({
        loadingImage : '<?=base_url();?>facebox/loading.gif',
        closeImage   : '<?=base_url();?>facebox/closelabel.gif'
      })
    })
  </script> 
...........
....
<a href="<?=base_url();?>admission/details" rel="facebox" >view details </a>
如果我将文本框添加到此页面,如何将值传递给该控制器? 无需更改facebox属性

<a id="fb1" href="<?=base_url();?>admission/details" rel="facebox" >view details </a>
<input type="text" onchange="updateFB('#fb1',this.value)">
<script>
function updateFB(el,val){
    $(el).attr('href',"<?=base_url();?>admission/details/"+val);
}
</script>

//controller
function admission(){
    $date = $this->uri->segment(3);
....