Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
How to write a code for atleast check one check box in PHP .
eswar rao
Jul 24 2016 2:09 AM
272
Reply
i have four check boxes ..i would like to validate for use can select at least one check box ...
so how can i write a code for this using bootstrap validator.
<label for="remember" class="">
<input type="checkbox" class="" name="chk_interest[]" value="Food">
Food</label>
<label for="remember"><input type="checkbox" class="" name="chk_interest[]" value="Blood" >
Blood</label>
<label for="remember"><input type="checkbox" class="" name="chk_interest[]" value="Money" >
Money</label>
<label for="remember">
<input type="checkbox" class="" name="chk_interest[]" value="Organ" >
Organ</label>
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
how to hide query string from URL in php
how to insert and display image in php and mysqli