PHP expert |
|
wat hij bedoelt:
<?php
$array = array();
while($obj = mysql_fetch_object($query))
{
$array[ $obj->ID ] = array( "$obj->ID" , "$obj->NAAM" , "$obj->ACHTERNAAM");
}
?>
<?php { $array[ $obj->ID ] = array( "$obj->ID" , "$obj->NAAM" , "$obj->ACHTERNAAM"); } ?>
|