I have created a new action which is called when the customer select the options on product page and submit the product form. I get this array when i print the params posted.
Now how should i get the option labels so that i can save the information what customer have selected in the custom table i have created in the database.
As you can see there is just option ids and there values. I need to save some thing like option label and it's values as it goes to the cart in the default magento.
Update after using Vinai's Solution:
datepart for part (c) not found in array
Trace:
#0 /home/my_dir/public_html/lib/Zend/Date.php(1077): Zend_Date->_calculate('set', Array, 'c', 'en_AU')
#1 /home/my_dir/public_html/lib/Zend/Date.php(197): Zend_Date->set(Array, 'c', 'en_AU')
#2 /home/my_dir/public_html/app/code/core/Mage/Core/Model/Locale.php(474): Zend_Date->__construct(Array, 'c', Object(Zend_Locale))
#3 /home/my_dir/public_html/app/code/core/Mage/Catalog/Model/Product/Option/Type/Date.php(167): Mage_Core_Model_Locale->date(Array, 'c', NULL, false)
#4 /home/my_dir/public_html/app/code/local/Browsewire/Quote/controllers/IndexController.php(43): Mage_Catalog_Model_Product_Option_Type_Date->getFormattedOptionValue(Array)
#5 /home/my_dir/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Browsewire_Quote_IndexController->subformAction()
#6 /home/my_dir/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(253): Mage_Core_Controller_Varien_Action->dispatch('subform')
#7 /home/my_dir/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#8 /home/my_dir/public_html/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
#9 /home/my_dir/public_html/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#10 /home/my_dir/public_html/index.php(80): Mage::run('', 'store')
#11 {main}