回复讨论(解决方案) php那段。
switch( $find)
这个$find你都没有定义,当然是0了。
在前面加一句
$find = isset($_post['find'])? $_post['find']: '';
switch($find)
另外建议,提问题,代码不要截图,这样不方便搜寻关键字。
其他的数值你都没有传递给php,当然什么都没有
你按我的写法,把其他变量都获取再使用就可以了
$find = isset($_post['find'])? $_post['find']: '';
