Home > Backend Development > PHP Tutorial > select多选下拉框的值通过jquery ajax 传值给其他php页面,老是传不过去,求帮助

select多选下拉框的值通过jquery ajax 传值给其他php页面,老是传不过去,求帮助

WBOY
Release: 2016-06-02 11:33:17
Original
1233 people have browsed it

selectajaxphpjquery

请大大们来帮我看看。

接收传值的页面:

$cla=$_POST["cla"];
echo $cla;

include_once("conn.php");
$sql="update class_string set class_string='$cla' where teacher='ma'";
$result = mysql_query($sql);

?>

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template