Php 使用codeigniter将参数从锚定标记href传递到模式

Php 使用codeigniter将参数从锚定标记href传递到模式,php,codeigniter,Php,Codeigniter,我试图使用codeigniter将2个参数传递到一个模态框中,但并没有得到正确的结果。 简而言之,我试图在模式框中实现的是从一个表(标记)中选择all,其中student_id=$student_id和exam_id=$exam_id $student\u id和exam\u id是从student\u marksheet.php的锚定标记的onclick属性传递的参数 student_marksheet.php就是这样 这是我尝试在模态框上获取参数的方法,但这样我只能捕获一个参数 $edi

我试图使用codeigniter将2个参数传递到一个模态框中,但并没有得到正确的结果。 简而言之,我试图在模式框中实现的是从一个表(标记)中选择all,其中student_id=$student_id和exam_id=$exam_id

$student\u id和exam\u id是从student\u marksheet.php的锚定标记的onclick属性传递的参数

student_marksheet.php就是这样


这是我尝试在模态框上获取参数的方法,但这样我只能捕获一个参数

$edit_data=$this->db->get_where('mark',array('exam_id'=>$param2))->result_array();

我怎样才能抓住这两个请

Codeigniter有一个路由系统,可以从url检索参数,这可能会有帮助[链接说找不到文件……你说得对,有一个]在url的末尾,正确的链接是下面的好链接。谢谢我能够访问该网站nowCodeigniter有一个路由系统,可以从url检索参数,这可能是有帮助的[链接说找不到文件……你是对的,有一个]在url的结尾,正确的链接是下面的好。谢谢我现在可以访问该网站了