<?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"
	>

<channel>
	<title>Sanchan World Blog</title>
	<atom:link href="http://www.sanchanworld.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sanchanworld.com/blog</link>
	<description>Useful resource on web applications like, php, asp, css, mysql and etc.</description>
	<pubDate>Fri, 10 Oct 2008 19:09:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>alter table to add new column in mysql table</title>
		<link>http://www.sanchanworld.com/blog/mysql/alter-table-to-add-new-column-in-mysql-table/</link>
		<comments>http://www.sanchanworld.com/blog/mysql/alter-table-to-add-new-column-in-mysql-table/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 19:07:36 +0000</pubDate>
		<dc:creator>sanjeev</dc:creator>
		
		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[add]]></category>

		<category><![CDATA[alter]]></category>

		<category><![CDATA[column]]></category>

		<category><![CDATA[sql]]></category>

		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://www.sanchanworld.com/blog/?p=32</guid>
		<description><![CDATA[ALTER TABLE customers ADD email VARCHAR(90);
This above query will add the email column with varchar type at the end of an existing table. To add the new column after a specific column, for ex: lastname, use following query:
ALTER TABLE customers ADD email VARCHAR(90) AFTER lastname;
If you want to add the new column at first place, [...]]]></description>
		<wfw:commentRss>http://www.sanchanworld.com/blog/mysql/alter-table-to-add-new-column-in-mysql-table/feed/</wfw:commentRss>
		</item>
		<item>
		<title>delete HTML table row dynamicaly using javascript</title>
		<link>http://www.sanchanworld.com/blog/javascript/delete-html-table-row-dynamicaly-using-javascript/</link>
		<comments>http://www.sanchanworld.com/blog/javascript/delete-html-table-row-dynamicaly-using-javascript/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 17:25:04 +0000</pubDate>
		<dc:creator>sanjeev</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[delete]]></category>

		<category><![CDATA[html]]></category>

		<category><![CDATA[table]]></category>

		<category><![CDATA[tr]]></category>

		<guid isPermaLink="false">http://www.sanchanworld.com/blog/?p=29</guid>
		<description><![CDATA[Following code is used to delete the html table row(&#60;tr&#62;) dynamically using javascript. Just press the delete button and deletes the &#60;tr&#62; as well as &#60;td&#62;&#8217;s from the table.
&#60;html&#62;
&#60;head&#62;
&#60;script type="text/javascript"&#62;
function delete_row(r)
{
var i=r.parentNode.parentNode.rowIndex; //calculates the index of the row to delete
document.getElementById('tasksTable').deleteRow(i); //deletes the row
}
&#60;/script&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;table id="tasksTable" border="1" width="400"&#62;
&#60;tr&#62;
&#60;td&#62;Row 1&#60;/td&#62;
&#60;td&#62;&#60;input type="button" value="Delete" onclick="delete_row(this)"&#62;&#60;/td&#62;
&#60;/tr&#62;
&#60;tr&#62;
&#60;td&#62;Row 2&#60;/td&#62;
&#60;td&#62;&#60;input type="button" value="Delete" onclick="delete_row(this)"&#62;&#60;/td&#62;
&#60;/tr&#62;
&#60;tr&#62;
&#60;td&#62;Row 3&#60;/td&#62;
&#60;td&#62;&#60;input [...]]]></description>
		<wfw:commentRss>http://www.sanchanworld.com/blog/javascript/delete-html-table-row-dynamicaly-using-javascript/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Add new row dynamically to existing table</title>
		<link>http://www.sanchanworld.com/blog/javascript/add-new-row-dynamically-to-existing-table/</link>
		<comments>http://www.sanchanworld.com/blog/javascript/add-new-row-dynamically-to-existing-table/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 12:34:25 +0000</pubDate>
		<dc:creator>sanjeev</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[add]]></category>

		<category><![CDATA[dynamically]]></category>

		<category><![CDATA[table]]></category>

		<category><![CDATA[tr]]></category>

		<guid isPermaLink="false">http://www.sanchanworld.com/blog/?p=27</guid>
		<description><![CDATA[Often we want to add the rows dynamically in our applications. This can be done using passing some parameter to add one more row (&#60;TR&#62;). But this method reloads the page again. Using JavaScript we can add the new row(&#60;tr&#62;) very easily. Following example shows how to add new row to the existing table.
&#60;html&#62;
&#60;head&#62;
&#60;script type="text/javascript"&#62;
function [...]]]></description>
		<wfw:commentRss>http://www.sanchanworld.com/blog/javascript/add-new-row-dynamically-to-existing-table/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Limit Your Resultset with TOP or SET ROWCOUNT Keywords</title>
		<link>http://www.sanchanworld.com/blog/ms-sql-server/limit-resultset-with-top-or-set-rowcount-keywords/</link>
		<comments>http://www.sanchanworld.com/blog/ms-sql-server/limit-resultset-with-top-or-set-rowcount-keywords/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 18:57:43 +0000</pubDate>
		<dc:creator>sanjeev</dc:creator>
		
		<category><![CDATA[MS SQL Server]]></category>

		<category><![CDATA[limit]]></category>

		<category><![CDATA[query]]></category>

		<category><![CDATA[rowcount]]></category>

		<category><![CDATA[server]]></category>

		<category><![CDATA[sql]]></category>

		<category><![CDATA[top]]></category>

		<guid isPermaLink="false">http://www.sanchanworld.com/blog/?p=23</guid>
		<description><![CDATA[So far you have used &#8220;SELECT * FROM ProductsTable&#8221; SQL statement, which returns all the records/rows from a table. By adding a WHERE clause to the previous SELECT SQL statement, you can limit number of result set to only match criteria. Sometime this filter condition also doesn&#8217;t limit the result set. In some case you [...]]]></description>
		<wfw:commentRss>http://www.sanchanworld.com/blog/ms-sql-server/limit-resultset-with-top-or-set-rowcount-keywords/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Import CSV file into mysql table using load data</title>
		<link>http://www.sanchanworld.com/blog/mysql/import-csv-into-mysql-table-using-load-data/</link>
		<comments>http://www.sanchanworld.com/blog/mysql/import-csv-into-mysql-table-using-load-data/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 11:00:33 +0000</pubDate>
		<dc:creator>sanjeev</dc:creator>
		
		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[csv]]></category>

		<category><![CDATA[data]]></category>

		<category><![CDATA[import]]></category>

		<category><![CDATA[infile]]></category>

		<category><![CDATA[load]]></category>

		<category><![CDATA[query]]></category>

		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://www.sanchanworld.com/blog/?p=21</guid>
		<description><![CDATA[Creating 1 row or upto 10 rows are easy manually. But what if we have to create more than 100 rows from a file? Following is the step by step procedure to import whole CSV file into the the required mysql table.
1. Create a DB called testDb. Use the existing one if you have.
CREATE DATABASE [...]]]></description>
		<wfw:commentRss>http://www.sanchanworld.com/blog/mysql/import-csv-into-mysql-table-using-load-data/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to generate random string and numbers</title>
		<link>http://www.sanchanworld.com/blog/asp/generate-random-string-number-using-asp/</link>
		<comments>http://www.sanchanworld.com/blog/asp/generate-random-string-number-using-asp/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 18:57:22 +0000</pubDate>
		<dc:creator>sanjeev</dc:creator>
		
		<category><![CDATA[ASP]]></category>

		<category><![CDATA[generate]]></category>

		<category><![CDATA[password]]></category>

		<category><![CDATA[random number]]></category>

		<category><![CDATA[random string]]></category>

		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.sanchanworld.com/blog/asp/generate-random-string-number-using-asp/</guid>
		<description><![CDATA[Sometimes, when user gets created then system needs to create some random password for that user and send it through mail. We also require random numbers, random characters for some other cases as well.
Below scripts shows how to create or generate the random characters, random numbers and random password
1: Generate random password
&#60;%
'Script to generate random [...]]]></description>
		<wfw:commentRss>http://www.sanchanworld.com/blog/asp/generate-random-string-number-using-asp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Printing all server variables in ASP</title>
		<link>http://www.sanchanworld.com/blog/asp/asp-server-variables-values/</link>
		<comments>http://www.sanchanworld.com/blog/asp/asp-server-variables-values/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 17:08:40 +0000</pubDate>
		<dc:creator>sanjeev</dc:creator>
		
		<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://www.sanchanworld.com/blog/asp/asp-server-variables-values/</guid>
		<description><![CDATA[Following code displays all the server variables which are present in asp

&#60;table border="0" cellpadding="0" cellspacing="0" align="center"  width="700"&#62;
&#60;tr&#62;
&#60;td valign="top" align="left"  width="200"&#62;&#60;font face="Verdana" size="3"  color="#FF0000"&#62;&#60;b&#62;Variable  Name&#60;/b&#62;&#60;/font&#62;&#60;/td&#62;
&#60;td valign="top" align="left"  width="500"&#62;&#60;font face="Verdana"  size="3"&#62;&#60;b&#62;Value&#60;/font&#62;&#60;/b&#62;&#60;/td&#62;
&#60;/tr&#62;
&#60;%
for each name in  request.servervariables
%&#62;
&#60;tr&#62;
&#60;td valign=&#8221;top&#8221;  align=&#8221;left&#8221; width=&#8221;200&#8243;&#62;
&#60;font face=&#8221;Arial&#8221; size=&#8221;2&#8243;  color=&#8221;#FF0000&#8243;&#62;
&#60;%= name  %&#62;&#60;/font&#62;&#60;/td&#62;
&#60;td valign=&#8221;top&#8221; align=&#8221;left&#8221;  width=&#8221;500&#8243;&#62;
&#60;font [...]]]></description>
		<wfw:commentRss>http://www.sanchanworld.com/blog/asp/asp-server-variables-values/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Removing undeline from links</title>
		<link>http://www.sanchanworld.com/blog/css/removing-undeline-from-links/</link>
		<comments>http://www.sanchanworld.com/blog/css/removing-undeline-from-links/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 18:38:51 +0000</pubDate>
		<dc:creator>sanjeev</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.sanchanworld.com/blog/css/removing-undeline-from-links/</guid>
		<description><![CDATA[Whenever we create a href then an underline comes by default for the link. We can remove this underline from the anchored text link by adding inline style to the a tag. Example is given below
&#60;a href="contact.php"&#62;Contact us&#60;/a&#62; &#60;!-- this produce the link with underline --&#62;
&#60;a href="contact.php" style="text-decoration:none;"&#62;Contact us&#60;/a&#62;  &#60;!-- this produce the link without [...]]]></description>
		<wfw:commentRss>http://www.sanchanworld.com/blog/css/removing-undeline-from-links/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Different types of CSS styles</title>
		<link>http://www.sanchanworld.com/blog/css/different-types-of-css-styles/</link>
		<comments>http://www.sanchanworld.com/blog/css/different-types-of-css-styles/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 18:30:07 +0000</pubDate>
		<dc:creator>sanjeev</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.sanchanworld.com/blog/css/different-types-of-css-styles/</guid>
		<description><![CDATA[CSS gives flexibility in using different style property locally by overriding the global declared styles in external style sheet. Following are the 3 different types of styles.

Inline or embedded style sheet
Internal style sheet
External style sheet

Inline or embedded style sheet
These styles can be added directly within HTML tags. This gets highest priority than Internal and external [...]]]></description>
		<wfw:commentRss>http://www.sanchanworld.com/blog/css/different-types-of-css-styles/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Script to access MySQL database using PHP</title>
		<link>http://www.sanchanworld.com/blog/php/script-to-access-mysql-database-using-php/</link>
		<comments>http://www.sanchanworld.com/blog/php/script-to-access-mysql-database-using-php/#comments</comments>
		<pubDate>Sun, 22 Jun 2008 08:51:21 +0000</pubDate>
		<dc:creator>sanjeev</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.sanchanworld.com/blog/php/script-to-access-mysql-database-using-php/</guid>
		<description><![CDATA[PHP and MySQL are most popular combination in creating web application. PHP and MySQL gets integrated easily in any platforms. Scripts developed in PHP using Window platform works perfectly in when used in Linux environment. Below example shows how to connect between PHP and MySQL database.
&#60;?php
// Connecting to database
$link = mysql_connect('mysqlHost', 'mysqlUser', 'mysqlPassword')
or die('Could not [...]]]></description>
		<wfw:commentRss>http://www.sanchanworld.com/blog/php/script-to-access-mysql-database-using-php/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
