To get all the ordered items of the order use the following code.
This code will return an object array.
Code :
<?php $order_id = mt1000003; //use your order id $order = Mage::getModel("sales/order")->load($order_id); //load order by order id $ordered_items = $order->getAllItems(); Foreach($ordered_items as $item) { //item detail echo $item->getItemId(); //product id echo $item->getSku(); echo $item->getQtyOrdered(); //ordered qty of item echo $item->getName(); } ?>