-1
我有3个复选框:插入复选框值数组到数据库
<input class="shoesChoice" name="trendy" type="checkbox" />
<input class="shoesChoice" name="luxury" type="checkbox" />
<input class="shoesChoice" name="sports" type="checkbox" />
而且我想只有一个字段存储这些信息到(如果可能)在我的数据库。 所以,如果1RST和最后输入检查,我shoesChoice领域应该有:“时尚,运动”
只是连接值服务器端。爆炸:http://www.php.net/manual/en/function.explode.php implode:http://www.php.net/manual/en/function.implode.php – 2013-02-19 14:36:19
有用的,thanx! – Kaherdin 2013-02-19 15:05:07