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

88
Views
Displaying data using checkboxes for specific values when checked

I'm trying to display data from mysql with multiple true(1) or false(0) values but can't identify a way to display them using checkbox type. I want to display results where the result will be true for multiple categories when there checkbox is selected.

I'm assuming the php will something along the lines of SELECT * FROM table WHERE $checkbox,$checkbox='1' with a sort of array or i could be horribly wrong.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

<input type="checkbox" name="vehicle3"  
<?php if(array_value->getCheckbox()){checked} ?> > your text <br>

Maybe once you got your array of eg. categories with field checkbox field set to true or false. You can display checkboxes and add attribute "cheked" if ever the value is true

about 4 years ago · Juan Pablo Isaza Report
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!