QuickForm_advmultiselect - throwing error (Invalid argument supplied for foreach() )

From: Date: Mon, 29 Aug 2005 15:06:07 +0000
Subject: QuickForm_advmultiselect - throwing error (Invalid argument supplied for foreach() )
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20632@lists.php.net to get a copy of this message
I supply the data: $people = $db->getAssoc("SELECT person_ID, CONCAT(lastName, \", \", firstName) FROM people WHERE city_ID = 2"); That gives me an associative array of: ID (int) and NAME (char) The page works fine. Upon submission, I get the following: Array ( [people] => Array ( [0] => 16 ) [send] => Send ) Warning: Invalid argument supplied for foreach() in c:\pear\lib\HTML\QuickForm\advmultiselect.php on line 566 Any ideas? ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs

« previous php.pear.general (#20632) next »