Support

Account

Home Forums Front-end Issues WP_Query checkbox array string error Reply To: WP_Query checkbox array string error

  • 
    <input type="checkbox" id="aimerparlapersonne" name="passion[]" value="decoration" <?php 
      if (!empty($_GET['passion']) && in_array('decoration', $_GET['passion'])) {
        echo 'checked="checked";
      }
    ?>>Décoration