Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

116
Views
Checkbox count to store in MySql DB PHP

I have two checkbox filter and I want to store the count of both checkbox checked each time in seperate column in mysql table.

can someone help here to get count of checkbox checked each time and store to DB.

  <input type="checkbox" id="Click" name="Click" onclick="applyConsolidatedFilter()">
  <label for="Click">Clicked</label>
  <input type="checkbox" id="Click1" name="Click1" onclick="applyConsolidatedFilter()">
  <label for="Click1">Clicked1</label>
   
   var checkedFilter = 'checkedfilter=';
   var clk = document.getElementById("Click");
   var clk1 = document.getElementById("Click1");

if ( clk.checked){
       checkedFilter = checkedFilter.concat('Click,');
   }
if ( clk1.checked){
       checkedFilter = checkedFilter.concat('Click1,');
   }
}```

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!