CakePHP Form Dropdown
问题 I've got this table in my database that outputs this: array( (int) 0 => array( 'Price' => array( 'id' => '1', 'amount' => '20', 'price' => '180.00', 'type_id' => '1', 'active' => 'a' ) ), (int) 1 => array( 'Price' => array( 'id' => '2', 'amount' => '30', 'price' => '232.50', 'type_id' => '1', 'active' => 'a' ) ), ...And so on. I need a drop down in my form that displays the amount and price together (ie. "20 @ 180.00"), but when selected, gets the "id" field. I reworked a new array called