\'New branch\' order by id'; $query = 'select id, address, address_descr, city, zip, phone, rest_id from rest_address order by id'; if (!($res = mysql_query($query, $conn))) showerror(); while ($row = mysql_fetch_assoc($res)) { extract($row); $locations[$rest_id][$id] = array($address, $city, $zip, $phone); } #pprint("agencies"); #print_arr($restaurants); #pprint("offices"); #print_arr($locations); ?>