By using the following code Get Bundle product ids
$productIDs = $product->getTypeInstance(true)->getChildrenIds($product->getId(), false) Mage::log($productIDs);
using above retrive multi-dimensional array..
Array (  => Array (  => 21  => 25 )  => Array (  => 28 ) )
in my case i have a bundle with three product... i just need product ids(21, 25 and 28) i try a lot but unable figure out. any help would be greatly appreciated