我在这里有这个表格:
<label for='per_pjese'>Per Pjese:</label>
<select id = "per_pjese" name="per_pjese" >
<option value = "2">Jo</option>
<option value = "1">Po</option>
</select>
现在,我得到这样的变量:
$postPer_pjese = stripslashes($_POST["postPer_pjese"]);
我的问题是,当它发布在数据库中时,它是用空格发布的......即:
1' ' where ' ' signifies white space