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

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

WBOY
WBOYOriginal
2016-06-02 11:33:171213browse

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);

?>

Statement:
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