<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mukesh Chapagain&#039;s Blog &#187; register</title>
	<atom:link href="http://blog.chapagain.com.np/tag/register/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chapagain.com.np</link>
	<description>PHP Magento jQuery SQL Wordpress Joomla Programming &#38; Tutorial</description>
	<lastBuildDate>Tue, 07 Feb 2012 00:54:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Magento: How to set and get registry?</title>
		<link>http://blog.chapagain.com.np/magento-how-to-set-and-get-registry/</link>
		<comments>http://blog.chapagain.com.np/magento-how-to-set-and-get-registry/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 04:15:08 +0000</pubDate>
		<dc:creator>Mukesh</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[register]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[variable]]></category>

		<guid isPermaLink="false">http://blog.chapagain.com.np/?p=591</guid>
		<description><![CDATA[Registry means registering or creating a new variable which is to be used later on in the project/code. The registry variable acts as a global variable which can be used anywhere. We register a variable with register() function. We can unregister the variable with unregister() function. To fetch the registry variable, we use registry() function. [...]


<strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/magento-get-store-information/' rel='bookmark' title='Permanent Link: Magento: Get store information'>Magento: Get store information</a></li>
<li><a href='http://blog.chapagain.com.np/magento-get-list-of-all-categories/' rel='bookmark' title='Permanent Link: Magento: Get list of all Categories'>Magento: Get list of all Categories</a></li>
<li><a href='http://blog.chapagain.com.np/magento-how-to-get-most-viewed-products/' rel='bookmark' title='Permanent Link: Magento: How to get most viewed products?'>Magento: How to get most viewed products?</a></li>
<li><a href='http://blog.chapagain.com.np/jquery-grey-out-background-and-preview-image-as-popup/' rel='bookmark' title='Permanent Link: jQuery: Grey out background and preview image as popup'>jQuery: Grey out background and preview image as popup</a></li>
<li><a href='http://blog.chapagain.com.np/magento-payment-method-not-displayed-in-multiple-shipping-adresses-checkout/' rel='bookmark' title='Permanent Link: Magento: Payment method not displayed in Multiple Shipping Adresses Checkout'>Magento: Payment method not displayed in Multiple Shipping Adresses Checkout</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Registry means registering or creating a new variable which is to be used later on in the project/code. The registry variable acts as a global variable which can be used anywhere. </p>
<p>We register a variable with <strong>register()</strong> function.<br />
We can unregister the variable with <strong>unregister()</strong> function.<br />
To fetch the registry variable, we use <strong>registry()</strong> function.<br />
We can store anything in the registry variable. It can be integer, string, array, etc.</p>
<p><span id="more-591"></span></p>
<p>In the example below, I will be showing you how to create, fetch and destroy registry variable. In other words, I mean how to register, fetch and unregister variables in Magento. </p>
<p>Here, I will be registering store id (integer). The variable key will be &#8216;<strong>store_id</strong>&#8216;.</p>
<pre class="brush: php; title: ; notranslate">
Mage::register('store_id', Mage::app()-&gt;getStore()-&gt;getId());
</pre>
<p><strong>Mage::app()->getStore()->getId()</strong> gives the current store id.</p>
<p>The key of our newly created variable is &#8216;store_id&#8217;. To fetch the newly registered variable, we will use the following code:</p>
<pre class="brush: php; title: ; notranslate">
Mage::registry('store_id');
</pre>
<p>We will destroy/unregister the variable when we no longer need it.</p>
<pre class="brush: php; title: ; notranslate">
Mage::unregister('store_id');
</pre>
<p>Hope this helps and thanks for reading :-)</p>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> )</small><img src="http://blog.chapagain.com.np/?ak_action=api_record_view&id=591&type=feed" alt="" />

<p><strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/magento-get-store-information/' rel='bookmark' title='Permanent Link: Magento: Get store information'>Magento: Get store information</a></li>
<li><a href='http://blog.chapagain.com.np/magento-get-list-of-all-categories/' rel='bookmark' title='Permanent Link: Magento: Get list of all Categories'>Magento: Get list of all Categories</a></li>
<li><a href='http://blog.chapagain.com.np/magento-how-to-get-most-viewed-products/' rel='bookmark' title='Permanent Link: Magento: How to get most viewed products?'>Magento: How to get most viewed products?</a></li>
<li><a href='http://blog.chapagain.com.np/jquery-grey-out-background-and-preview-image-as-popup/' rel='bookmark' title='Permanent Link: jQuery: Grey out background and preview image as popup'>jQuery: Grey out background and preview image as popup</a></li>
<li><a href='http://blog.chapagain.com.np/magento-payment-method-not-displayed-in-multiple-shipping-adresses-checkout/' rel='bookmark' title='Permanent Link: Magento: Payment method not displayed in Multiple Shipping Adresses Checkout'>Magento: Payment method not displayed in Multiple Shipping Adresses Checkout</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chapagain.com.np/magento-how-to-set-and-get-registry/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Very simple add, edit, delete, display in PHP</title>
		<link>http://blog.chapagain.com.np/very-simple-add-edit-delete-display-in-php/</link>
		<comments>http://blog.chapagain.com.np/very-simple-add-edit-delete-display-in-php/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 08:03:11 +0000</pubDate>
		<dc:creator>Mukesh</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[add]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[edit]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[register]]></category>
		<category><![CDATA[session]]></category>

		<guid isPermaLink="false">http://blog.chapagain.com.np/2008/03/05/very-simple-add-edit-delete-display-in-php/</guid>
		<description><![CDATA[Before I had posted an article to add, edit, delete, and display contents. I had also included sessions there. There was the facility to login and register users too. But i got feedback that it was a bit complex for novice users of PHP (users who have just started PHPing). It was a kind of [...]


<strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/add-edit-delete-login-register-in-php-a-simple-and-complete-tutorial/' rel='bookmark' title='Permanent Link: Add, edit, delete, login, register in PHP :: A simple and complete tutorial'>Add, edit, delete, login, register in PHP :: A simple and complete tutorial</a></li>
<li><a href='http://blog.chapagain.com.np/magento-how-to-delete-system-attribute/' rel='bookmark' title='Permanent Link: Magento: How to delete System Attribute?'>Magento: How to delete System Attribute?</a></li>
<li><a href='http://blog.chapagain.com.np/magento-how-to-select-insert-update-and-delete-data/' rel='bookmark' title='Permanent Link: Magento: How to select, insert, update, and delete data?'>Magento: How to select, insert, update, and delete data?</a></li>
<li><a href='http://blog.chapagain.com.np/magento-how-to-delete-remove-extension-from-magentoconnect/' rel='bookmark' title='Permanent Link: Magento: How to delete / remove extension from MagentoConnect?'>Magento: How to delete / remove extension from MagentoConnect?</a></li>
<li><a href='http://blog.chapagain.com.np/session-handling-in-php/' rel='bookmark' title='Permanent Link: Session Handling in PHP'>Session Handling in PHP</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Before I had posted an article to <a href="http://blog.chapagain.com.np/2007/12/08/add-edit-delete-login-register-in-php-a-simple-and-complete-tutorial/">add, edit, delete, and display contents</a>. I had also included sessions there. There was the facility to login and register users too.</p>
<p>But i got feedback that it was a bit complex for novice users of PHP (users who have just started PHPing). It was a kind of full-fledge system with PHP, MySQL and session.</p>
<p><span id="more-44"></span></p>
<p>So in this article, I have simplified the same functionality of the above tutorial. I have not used session in this case. If you want tutorial about session, login, and register then you can refer to my previous article (the link which is provided above).</p>
<p><strong>Files included in this tutorial/code:</strong></p>
<p>users.sql = This contains sql queries to make MySQL database and table</p>
<p>config.php = contains the database connection code (this file is included in all the php pages with the include() function)</p>
<p>index.php = contains the display part (displaying data from database)</p>
<p>add.html = contains form to add data</p>
<p>add.php = contains php code to add data</p>
<p>edit.php = contains php code to edit data</p>
<p>delete.php = contains php code to delete data</p>
<p><strong>Download full source code: <a href="http://chapagain.googlecode.com/files/crud-simple.zip" title="Create, read, update, delete in php and mysql">Create, read, update, delete in php and mysql</a></strong></p>
<p>Cheers,</p>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> )</small><img src="http://blog.chapagain.com.np/?ak_action=api_record_view&id=44&type=feed" alt="" />

<p><strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/add-edit-delete-login-register-in-php-a-simple-and-complete-tutorial/' rel='bookmark' title='Permanent Link: Add, edit, delete, login, register in PHP :: A simple and complete tutorial'>Add, edit, delete, login, register in PHP :: A simple and complete tutorial</a></li>
<li><a href='http://blog.chapagain.com.np/magento-how-to-delete-system-attribute/' rel='bookmark' title='Permanent Link: Magento: How to delete System Attribute?'>Magento: How to delete System Attribute?</a></li>
<li><a href='http://blog.chapagain.com.np/magento-how-to-select-insert-update-and-delete-data/' rel='bookmark' title='Permanent Link: Magento: How to select, insert, update, and delete data?'>Magento: How to select, insert, update, and delete data?</a></li>
<li><a href='http://blog.chapagain.com.np/magento-how-to-delete-remove-extension-from-magentoconnect/' rel='bookmark' title='Permanent Link: Magento: How to delete / remove extension from MagentoConnect?'>Magento: How to delete / remove extension from MagentoConnect?</a></li>
<li><a href='http://blog.chapagain.com.np/session-handling-in-php/' rel='bookmark' title='Permanent Link: Session Handling in PHP'>Session Handling in PHP</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chapagain.com.np/very-simple-add-edit-delete-display-in-php/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Add, edit, delete, login, register in PHP :: A simple and complete tutorial</title>
		<link>http://blog.chapagain.com.np/add-edit-delete-login-register-in-php-a-simple-and-complete-tutorial/</link>
		<comments>http://blog.chapagain.com.np/add-edit-delete-login-register-in-php-a-simple-and-complete-tutorial/#comments</comments>
		<pubDate>Sat, 08 Dec 2007 06:44:19 +0000</pubDate>
		<dc:creator>Mukesh</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[register]]></category>

		<guid isPermaLink="false">http://blog.chapagain.com.np/2007/12/08/add-edit-delete-login-register-in-php-a-simple-and-complete-tutorial/</guid>
		<description><![CDATA[Hello everyone! here is a simple and complete tutorial to add, edit, delete, login, and register in PHP with MySQL database. The description is present in the code.. in comments :D I hope those comments are sufficient to describe the code. The database part is in the sql file named &#8216;database.sql&#8217;. I have attached the [...]


<strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/very-simple-add-edit-delete-display-in-php/' rel='bookmark' title='Permanent Link: Very simple add, edit, delete, display in PHP'>Very simple add, edit, delete, display in PHP</a></li>
<li><a href='http://blog.chapagain.com.np/php-how-to-get-stock-quote-data-from-yahoo-finance-complete-code-and-tutorial/' rel='bookmark' title='Permanent Link: PHP: How to get stock quote data from Yahoo! Finance? (Complete Code and Tutorial)'>PHP: How to get stock quote data from Yahoo! Finance? (Complete Code and Tutorial)</a></li>
<li><a href='http://blog.chapagain.com.np/session-handling-in-php/' rel='bookmark' title='Permanent Link: Session Handling in PHP'>Session Handling in PHP</a></li>
<li><a href='http://blog.chapagain.com.np/creating-dynamic-table-in-php/' rel='bookmark' title='Permanent Link: Creating dynamic table in PHP : Easy and Simple tutorial'>Creating dynamic table in PHP : Easy and Simple tutorial</a></li>
<li><a href='http://blog.chapagain.com.np/magento-how-to-delete-system-attribute/' rel='bookmark' title='Permanent Link: Magento: How to delete System Attribute?'>Magento: How to delete System Attribute?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Hello everyone! here is a simple and complete tutorial to add, edit, delete, login, and register in PHP with MySQL database.</p>
<p>The description is present in the code.. in comments :D I hope those comments are sufficient to describe the code. The database part is in the sql file named &#8216;database.sql&#8217;.</p>
<p><span id="more-31"></span></p>
<p>I have attached the code with this post. Download it and enjoy PHPing&#8230;</p>
<p><strong>Download full source code: <a href="http://chapagain.googlecode.com/files/crud-complete.zip" title="PHP code for add,edit,delete,login, and register">PHP code for add,edit,delete,login, and register</a></strong></p>
<p>Cheers,</p>
<hr /><small>Copyright &copy; 2011<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> )</small><img src="http://blog.chapagain.com.np/?ak_action=api_record_view&id=31&type=feed" alt="" />

<p><strong>Related posts:</strong><ol><li><a href='http://blog.chapagain.com.np/very-simple-add-edit-delete-display-in-php/' rel='bookmark' title='Permanent Link: Very simple add, edit, delete, display in PHP'>Very simple add, edit, delete, display in PHP</a></li>
<li><a href='http://blog.chapagain.com.np/php-how-to-get-stock-quote-data-from-yahoo-finance-complete-code-and-tutorial/' rel='bookmark' title='Permanent Link: PHP: How to get stock quote data from Yahoo! Finance? (Complete Code and Tutorial)'>PHP: How to get stock quote data from Yahoo! Finance? (Complete Code and Tutorial)</a></li>
<li><a href='http://blog.chapagain.com.np/session-handling-in-php/' rel='bookmark' title='Permanent Link: Session Handling in PHP'>Session Handling in PHP</a></li>
<li><a href='http://blog.chapagain.com.np/creating-dynamic-table-in-php/' rel='bookmark' title='Permanent Link: Creating dynamic table in PHP : Easy and Simple tutorial'>Creating dynamic table in PHP : Easy and Simple tutorial</a></li>
<li><a href='http://blog.chapagain.com.np/magento-how-to-delete-system-attribute/' rel='bookmark' title='Permanent Link: Magento: How to delete System Attribute?'>Magento: How to delete System Attribute?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.chapagain.com.np/add-edit-delete-login-register-in-php-a-simple-and-complete-tutorial/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
