标签: javascript php jquery html forms
答案 0 :(得分:4)
您在隐藏的输入中缺少name属性...
name
<input type="hidden" name="category1" value=" <?php echo $category1; ?> "> <input type="hidden" name="category2" value=" <?php echo $category2; ?> ">