我想驗證與複選框優選使用Javascript或其它客戶端代碼ID的PHP形式:PHP複選框驗證
Branch Features:</br>
Micro Centre:<input type='checkbox' value='micro' name='features[]'>High Value Branch:<input type='checkbox' value='highval' name='features[]'>
CBS Enabled:<input type='checkbox' value='cbs' name='features[]'>
Trade Finance Branch:<input type='checkbox' value='tradef' name='features[]'>
Personnel Banking Branch:<input type='checkbox' value='personnel' name='features[]'>
High Security Branch:<input type='checkbox' value='hsbranch' name='features[]'>
等.. 基本上在服務器側我在輸入ÿ數據庫(如果該框被選中)和N(如果未選中)。我該如何去做這件事?
你到底要驗證什麼?如果至少有一個複選框被選中或者? – madflow