您好,欢迎访问一九零五行业门户网

<select>数据传递的有关问题

数据传递的问题
inquire.html
inquire the classroom
crms - inquire the classroom
classroom id
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
inquire_classroom.php
inquire the classroom
crms - inquire the classroom
下拉框选择了一个值提交后,出现
notice: undefined index: lesson_id in d:\xampp\htdocs\inquire_classroom.php on line 9
d301001 的错误。但是这里我不是已经定义了吗?
------解决方案--------------------
$lesson_id=$_post['lesson_id']; 这样其实是ok的。
改一下php.ini的报错级别:
error_reporting = e_all & ~e_notice
改后重启apache。
------解决方案--------------------
notice并不是error,不影响结果。
想不出现notice,修改下php.ini中的错误提示级别就行
其它类似信息

推荐信息