<input name="front_connect" type="checkbox" value="<? if(checked) echo 1; else echo 0; ?>"> 
这是一个复选框当选中时value=1 当没有被选中的时 value=2
该怎样写?多多指教谢谢  急急