Studyon Minte9.com
Magento




Display errors



Mage::getSingleton('core/session')->addError('Please fill up the required fields.');
$this->_redirect('catalog/index');


http://www.deepcodeonline.com/blog/magento/how-to-display-error-success-and-notice-messages-in-magento