Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

89
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda