1 (edited by daris 2008-02-26 20:10)

Topic: Multiple select and configuration

I'm trying add multiple select to PunBB configuration but this:

$form = array_map('trim', $_POST['form']);

shows notice:

Notice: Array to string conversion in /var/www/punbb-1.3-dev/admin/options.php on line 44

Re: Multiple select and configuration

Is $_POST['form'] really an array?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

3 (edited by daris 2008-02-28 12:52)

Re: Multiple select and configuration

$_POST['form']['test'] is an array contain selected options

$form doesn't return selected options list, but i can get it from $_POST