I am working in a form in which there are check boxes now i want to check one by default in admin panel which is checked by the user in fromt end while he submitted form.Form is same in both the panel but in admin panel the form is already filled with values entered by the user at the time of submitted in front end.
2条回答 默认 最新
- dqssst0144 2012-03-30 12:09关注
You can use this code :
<input type="checkbox" name="check" <?php if($status=="admin") echo "checked=\"checked\""?>>
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报