what is the syntax to initialize an associative array with values returned in a query where the key in the array is coming from the query and the value is static value of true?
i want to create an array that 'could' look like this:
$myarray = array('31'=>true,'21'=>true);
where 31 and 21 are the values returned from query
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php