Multi-select dropdown only inputting one value into database
#3
Thank you so much Omar! That actually worked perfectly.

I also had to change race to race[] in the ACP field creation part:
$form_container->output_row("<b>VIEWABLE BY RACE</b>", "These races can view this category. <strong class='small'>Note: This field is currently view only from the ACP, and can only be updated from the database. :(</strong>", $form->generate_select_box('race[]', $race, explode(',', $cat['race']), array('id' => 'race', 'multiple' => true, 'size' => 5)), 'race');
Reply


Messages In This Thread
RE: Multi-select dropdown only inputting one value into database - by brandkast - 2020-01-17, 05:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)