title: Getting Order Number from Order Id in Magento?
body: <p>I am using  following code to get the Order Number from Order ID.</p>
  
  <pre><code>$orderId=64; //Order Id will be supplied dynamically
  
  $order = Mage::getModel('sales/order')-&gt;load($orderId);
  
  echo "Order Number is: ".$order['increment_id'];
  </code></pre>
  
  <p>I am getting the correct order number using this code like 100000067.</p>
  
  <p>I wanted to know Is this the correct approach to use.</p>
  
  <p>Please guide.</p>
  
  <p>Thanks</p>