<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>SR Technoqueries Solutions</title>
	
	<link>http://phpwebdevelopment.org</link>
	<description>Solutions For Your Techno Queries</description>
	<lastBuildDate>Fri, 04 Feb 2011 14:06:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/PHPWebDevelopment" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="phpwebdevelopment" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Access Request variables from smarty templates</title>
		<link>http://phpwebdevelopment.org/smarty/access-request-variables-from-smarty-templates/</link>
		<comments>http://phpwebdevelopment.org/smarty/access-request-variables-from-smarty-templates/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 17:13:24 +0000</pubDate>
		<dc:creator>Hema</dc:creator>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[Smarty]]></category>

		<guid isPermaLink="false">http://phpwebdevelopment.org/?p=224</guid>
		<description><![CDATA[In smarty templates you can access Request variables available in PHP scripts using the reserved template variable {$smarty}.  Request variables include $_GET, $_POST, $_SERVER, $_ENV, $_COOKIE and $_SESSION. Have a look: &#8220;http://www.phpwebdevelopment.org/index.php?result=about&#8221; //Output the value of $_GET['result'] from the url {$smarty.get.result} //Output the value of $_POST['result'] from a posted form {$smarty.post.result} //Output a cookie variable, [...]]]></description>
			<content:encoded><![CDATA[<p>In smarty templates you can access Request variables available in PHP scripts using the reserved template variable {$smarty}.  Request variables include $_GET, $_POST, $_SERVER, $_ENV, $_COOKIE and $_SESSION.</p>
<p><span id="more-224"></span></p>
<p>Have a look:</p>
<p>&#8220;http://www.phpwebdevelopment.org/index.php?result=about&#8221;</p>
<pre class="brush: php; title: ;">
//Output the value of $_GET['result'] from the url
{$smarty.get.result}

//Output the value of $_POST['result'] from a posted form
{$smarty.post.result}

//Output a cookie variable, $_COOKIE['status'] from request header
{$smarty.cookies.status}

//Output a server variable, $_SERVER['SERVER_NAME']
{$smarty.server.SERVER_NAME}

//Output a system environment variable, $_ENV['PATH']
{$smarty.env.PATH}

//Output a session variable, $_SESSION['userid']
{$smarty.session.userid}

//Output the value of &quot;username&quot; from merged get/post/cookies/server/env
{$smarty.request.username}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://phpwebdevelopment.org/smarty/access-request-variables-from-smarty-templates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips to speed up mysql queries</title>
		<link>http://phpwebdevelopment.org/mysql/tips-to-speed-up-mysql-queries/</link>
		<comments>http://phpwebdevelopment.org/mysql/tips-to-speed-up-mysql-queries/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 12:09:57 +0000</pubDate>
		<dc:creator>Hema</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://phpwebdevelopment.org/?p=209</guid>
		<description><![CDATA[1. Instead of VARCHAR, BLOB or TEXT, Use CHAR type when possible. if values of a column have constant length: MD5-hash (32 symbols), ICAO or IATA airport code (4 and 3 symbols), BIC bank code (3 symbols), etc. Data in CHAR type columns can be found faster rather than in variable length data types columns. [...]]]></description>
			<content:encoded><![CDATA[<p>1. Instead of VARCHAR, BLOB or TEXT, Use CHAR type when possible. if values of a column have constant length: MD5-hash (32 symbols), ICAO or IATA airport code (4 and 3 symbols), BIC bank code (3 symbols), etc. Data in CHAR type columns can be found faster rather than in variable length data types columns.</p>
<p>2. Just because of you have too many columns, don’t split a table . In accessing a row, the biggest performance hit is the disk seek needed to find the first byte of the row.</p>
<p><span id="more-209"></span></p>
<p>3.  A column should be declared as &#8220;NOT NULL&#8221; only if it really needs it — thus you speed up table traversing a bit.</p>
<p>4. Instead of using PHP loop to fetch rows from database one by one only because of you can, use IN , e.g.</p>
<p>SELECT *<br />
FROM `table`<br />
WHERE `id` IN (1,6,18);</p>
<p>5. Use column default value, and insert only those values that differs from the default one. This reduces the query parsing time.</p>
<p>6. Think of storing users sessions data (or any other non-critical data) in MEMORY table — it’s very fast.</p>
<p>7. Images and other binary assets, for your web application should normally be stored as files. Store only a reference to the file rather than the file itself in the database.</p>
<p>8. If you need to calculate COUNT or SUM based on information from a lot of rows (articles rating, poll votes, user registrations count, etc.) frequently, then it would be great to create a separate table and update the counter in real time, which is much faster. If you need to collect statistics from huge log tables, take advantage of using a summary table instead of scanning the entire log table every time.</p>
<p>9. Don’t use REPLACE query (which is DELETE+INSERT and wastes ids): use INSERT … ON DUPLICATE KEY UPDATE instead (i.e. it’s INSERT + UPDATE if  conflict takes place). The same technique can be used when you need first make a SELECT to find out if data is already in database, and then run either INSERT or UPDATE. Why to choose yourself — rely on database side.</p>
<p>10. Always divide complex queries into several simpler ones — they have more chances to be cached, so will be quicker.</p>
<p>11. Group several similar INSERTs in a long INSERT with multiple VALUES lists to insert several rows at a time: this way query will be quicker due to fact that connection + sending + parsing a query takes 5-7 times of actual data insertion (depending on row size).<br />
But if that is not possible, use START TRANSACTION and COMMIT, if your database is InnoDB, otherwise you should use LOCK TABLES which will benefits the performance because the index buffer is flushed to disk only once, after all INSERT statements have completed; in this case unlock your tables each 1000 rows or so to allow other threads access to the table.</p>
<p>12. When loading a table from a text file, use LOAD DATA INFILE as it’s 20-100 times faster.</p>
<p>13. Avoid using ORDER BY RAND() to fetch several random rows. Fetch 10-20 entries (last by time added or ID) and make array_random() on PHP side.</p>
<p>14. Avoid using HAVING clause — it’s rather slow. In most of the cases, a DISTINCT clause can be considered as a special case of GROUP BY; so the optimizations applicable to GROUP BY queries can be also applied to queries with a DISTINCT clause. Also, if you use DISTINCT, try to use LIMIT (MySQL stops as soon as it finds row_count unique rows) and avoid ORDER BY (it requires a temporary table in many cases).</p>
]]></content:encoded>
			<wfw:commentRss>http://phpwebdevelopment.org/mysql/tips-to-speed-up-mysql-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to load data into table from a text file ?</title>
		<link>http://phpwebdevelopment.org/mysql/how-to-load-data-into-table-from-a-text-file/</link>
		<comments>http://phpwebdevelopment.org/mysql/how-to-load-data-into-table-from-a-text-file/#comments</comments>
		<pubDate>Mon, 24 Jan 2011 09:44:56 +0000</pubDate>
		<dc:creator>Hema</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://phpwebdevelopment.org/?p=205</guid>
		<description><![CDATA[Here we are assuming that we have a  table with given structure: CREATE TABLE teasttable ( prkey int(11) NOT NULL auto_increment, names varchar(20), score int, timeEnter timestamp(14), PRIMARY KEY  (prkey) ); And we have the formatted text file as shown below with the unix &#8220;tail&#8221;  command: $ tail /tmp/out.txt 'name1880',94 'name1881',93 'name1882',91 'name1883',93 'name1884',90 'name1885',93 [...]]]></description>
			<content:encoded><![CDATA[<p>Here we are assuming that we have a  table with given structure:</p>
<pre class="brush: sql; title: ;">

CREATE TABLE teasttable (
prkey int(11) NOT NULL auto_increment,
names varchar(20),
score int,
timeEnter timestamp(14),
PRIMARY KEY  (prkey)
);
</pre>
<p><span id="more-205"></span></p>
<p>And we have the formatted text file as shown below with the unix &#8220;tail&#8221;  command:</p>
<pre class="brush: plain; title: ;">
$ tail /tmp/out.txt
'name1880',94
'name1881',93
'name1882',91
'name1883',93
'name1884',90
'name1885',93
'name1886',93
'name1887',89
'name1888',85
'name1889',88
</pre>
<p>The  testtable contains the &#8220;prkey&#8221; and &#8220;timeEnter&#8221; fields which are not given in the &#8220;/tmp/out.txt&#8221; file. Therefore, to successfully load the specific fields you need to do the following:</p>
<p>mysql&gt; load data infile &#8216;/tmp/out.txt&#8217; into table testtable<br />
fields terminated by &#8216;,&#8217; (name,score);</p>
]]></content:encoded>
			<wfw:commentRss>http://phpwebdevelopment.org/mysql/how-to-load-data-into-table-from-a-text-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smarty – Passing ‘title’ variable to header template</title>
		<link>http://phpwebdevelopment.org/php/smarty-passing-title-variable-to-header-template/</link>
		<comments>http://phpwebdevelopment.org/php/smarty-passing-title-variable-to-header-template/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 18:46:20 +0000</pubDate>
		<dc:creator>Hema</dc:creator>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Smarty]]></category>

		<guid isPermaLink="false">http://phpwebdevelopment.org/?p=219</guid>
		<description><![CDATA[Generally when majority of your templates use the same headers and footers, it is obviously a good choice to split those out into their own templates and include them. But what if the header needs to have a different title, depending on what page you are coming from? For this you can pass the title [...]]]></description>
			<content:encoded><![CDATA[<p>Generally when majority of your templates use the same headers and footers, it is obviously a good choice to split those out into their own templates and include them. But what if the header needs to have a different title, depending on what page you are coming from? For this you can pass the title to the header when it is included.</p>
<p><span id="more-219"></span></p>
<p>You can use title variable in header template like this:</p>
<p><strong>homepage.tpl</strong></p>
<pre class="brush: php; title: ;">
{include file=&quot;header.tpl&quot; title=&quot;Home Page&quot;}
{* Rest of the template body will go here *}
</pre>
<p><strong>aboutus.tpl</strong></p>
<pre class="brush: php; title: ;">
{config_load file=&quot;aboutus.conf&quot;}
{include file=&quot;header.tpl&quot; title=#aboutusTitle#}
{* Rest of the template body will go here *}
</pre>
<p><strong>header.tpl</strong></p>
<pre class="brush: xml; title: ;">
&lt;HTML&gt;
&lt;HEAD&gt;
&lt;TITLE&gt;{$title|default:&quot;THIS IS DEFAULT TITLE&quot;}&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
</pre>
<p>When the Home page will be load, the title &#8220;Home Page&#8221; will be to the header.tpl, and will be used as the title. When the aboutuspage is drawn, the title will be &#8220;About us&#8221;. Which is used in archives_page.conf file, as we are using a variable from the archives_page.conf file instead of a hard coded variable. Also notice that &#8220;THIS IS DEFAULT TITLE&#8221; will be printed using the default variable modifier,  if the $title variable is empty.</p>
]]></content:encoded>
			<wfw:commentRss>http://phpwebdevelopment.org/php/smarty-passing-title-variable-to-header-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smarty – Handle blank variables</title>
		<link>http://phpwebdevelopment.org/php/smarty-handle-blank-variables/</link>
		<comments>http://phpwebdevelopment.org/php/smarty-handle-blank-variables/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 18:40:11 +0000</pubDate>
		<dc:creator>Hema</dc:creator>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Smarty]]></category>

		<guid isPermaLink="false">http://phpwebdevelopment.org/?p=216</guid>
		<description><![CDATA[Sometimes instead of printing an empty variable you may need to print a default value. For example printing a sign &#8220;*&#8221; instead of printing nothing so that the page should appear in understandable form. Yes! you can use rather most of the people use {if} statement for this but there is a shorthand way also [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes instead of printing an empty variable you may need to print a default value. For example printing a sign &#8220;*&#8221; instead of printing nothing so that the page should appear in understandable form. Yes! you can use rather most of the people use {if} statement for this but there is a shorthand way also with smarty and that is using default variable modifier.</p>
<p><span id="more-216"></span></p>
<p><strong>Using {if}</strong></p>
<pre class="brush: php; title: ;">
{if $title eq &quot;&quot;}
*
{else}
{$title}
{/if}
</pre>
<p><strong>Using &#8220;default&#8221; modifier</strong></p>
<pre class="brush: php; title: ;">
{$title|default:&quot;*&quot;}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://phpwebdevelopment.org/php/smarty-handle-blank-variables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alternate css styles in smarty using {cycle} tag</title>
		<link>http://phpwebdevelopment.org/smarty/alternate-css-styles-in-smarty-using-cycle-tag/</link>
		<comments>http://phpwebdevelopment.org/smarty/alternate-css-styles-in-smarty-using-cycle-tag/#comments</comments>
		<pubDate>Sat, 22 Jan 2011 13:47:26 +0000</pubDate>
		<dc:creator>Hema</dc:creator>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[Smarty]]></category>

		<guid isPermaLink="false">http://phpwebdevelopment.org/?p=243</guid>
		<description><![CDATA[Displaying rows or tables of information in alternate background colors is a nice way to improve readability. You may have used alternate css style in template using  {if} tag but there is a smarty tag {cycle} which you can use to set the alternating CSS styles. Here is a sample code that sets &#8220;oddstyle&#8221; or [...]]]></description>
			<content:encoded><![CDATA[<p>Displaying rows or tables of information in alternate background colors is a nice way to improve readability. You may have used alternate css style in template using  {if} tag but there is a smarty tag {cycle} which you can use to set the alternating CSS styles.</p>
<p>Here is a sample code that sets &#8220;oddstyle&#8221; or &#8220;evenstyle&#8221; css class to rows of a table in alternates.</p>
<p><span id="more-243"></span></p>
<pre class="brush: xml; title: ;">

&lt;table&gt;
{section name=i loop=$products}
&lt;tr class=&quot;{cycle values='oddstyle,evenstyle'}&quot;&gt;
&lt;td&gt;{$products[i].title}&lt;/td&gt;
&lt;td&gt;{$products[i].description}&lt;/td&gt;
&lt;/tr&gt;
{/section}
&lt;/table&gt;
</pre>
<p>In each class &#8220;oddstyle&#8221; and &#8220;evenstyle&#8221; set CSS &#8220;background-color&#8221; property with different colors.</p>
]]></content:encoded>
			<wfw:commentRss>http://phpwebdevelopment.org/smarty/alternate-css-styles-in-smarty-using-cycle-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to access template variables from PHP script ?</title>
		<link>http://phpwebdevelopment.org/php/how-to-access-template-variables-from-php-script/</link>
		<comments>http://phpwebdevelopment.org/php/how-to-access-template-variables-from-php-script/#comments</comments>
		<pubDate>Sat, 22 Jan 2011 13:13:09 +0000</pubDate>
		<dc:creator>Hema</dc:creator>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Smarty]]></category>

		<guid isPermaLink="false">http://phpwebdevelopment.org/?p=237</guid>
		<description><![CDATA[Using Smarty method get_template_vars(), you can access the smarty template variables  in PHP scripts. However, these template variables are only available after or  during the execution of template. The other way to use those template variables can be achieved by embedding PHP code directly into the smarty template using {php}  tags or by including a [...]]]></description>
			<content:encoded><![CDATA[<p>Using Smarty method get_template_vars(), you can access the smarty template variables  in PHP scripts. However, these template variables are only available after or  during the execution of template. The other way to use those template variables can be achieved by embedding PHP code directly into the smarty template using {php}  tags or by including a php file using the {include_php} tag.</p>
<p>Consider the code written in a index.tpl template:</p>
<pre class="brush: php; title: ;">

{assign var='title' value='This is an example'}
</pre>
<p><span id="more-237"></span></p>
<p>Now Accessing variables after template execution:</p>
<p>Execute the index.tpl template and return the result to a variable in php file</p>
<pre class="brush: php; title: ;">

$page = $smarty-&gt;fetch('index.tpl');
</pre>
<p>Given code will output &#8220;This is an example&#8221;:</p>
<pre class="brush: php; title: ;">
echo $smarty-&gt;get_template_vars('title');
</pre>
<p>Assign value to that variable:</p>
<pre class="brush: php; title: ;">

$smarty-&gt;assign('title', 'Value is changed');
</pre>
<p>Now this will output &#8220;Value is changed&#8221;:</p>
<pre class="brush: php; title: ;">

echo $smarty-&gt;get_template_vars('title');
</pre>
<p>To dump all variables assigned in the template use the code:</p>
<pre class="brush: php; title: ;">

var_dump($smarty-&gt;get_template_vars());
</pre>
<p>To access variables during template execution from inside {php} tags, you can use two ways:</p>
<pre class="brush: php; title: ;">

{php}
// using $this-&gt;_tpl_vars
echo $this-&gt;_tpl_vars['title'];

// using $this-&gt;get_template_vars() method, the variable $this, is a smarty object
echo $this-&gt;get_template_vars('title');
{/php}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://phpwebdevelopment.org/php/how-to-access-template-variables-from-php-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reuse HTML code in smarty using {capture} tag</title>
		<link>http://phpwebdevelopment.org/smarty/reuse-html-code-in-smarty-using-capture-tag/</link>
		<comments>http://phpwebdevelopment.org/smarty/reuse-html-code-in-smarty-using-capture-tag/#comments</comments>
		<pubDate>Sat, 22 Jan 2011 12:54:08 +0000</pubDate>
		<dc:creator>Hema</dc:creator>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[Smarty]]></category>
		<category><![CDATA[{capture} tag in smarty]]></category>

		<guid isPermaLink="false">http://phpwebdevelopment.org/?p=233</guid>
		<description><![CDATA[{capture} tag is used to assign any output it generates, into a variable that you can use to display that captured content multiple times throughout your templates. For that you can assign the output to the variable : {capture name='navbar'} &#60;ul&#62; {section name=item loop=$nav} &#60;li&#62;&#60;a href=&#34;{$nav[item].urlid}&#34;&#62;{$nav[item].title}&#60;/a&#62;&#60;/li&#62; {/section} &#60;/ul&#62; {/capture} //To show the captured content.Use the [...]]]></description>
			<content:encoded><![CDATA[<p>{capture} tag is used to assign any output it generates, into a variable that you can use to display that captured content multiple times throughout your templates. For that you can assign the output to the variable :</p>
<pre class="brush: xml; title: ;">

{capture name='navbar'}
&lt;ul&gt;
{section name=item loop=$nav}
&lt;li&gt;&lt;a href=&quot;{$nav[item].urlid}&quot;&gt;{$nav[item].title}&lt;/a&gt;&lt;/li&gt;
{/section}
&lt;/ul&gt;
{/capture}
</pre>
<p><span id="more-233"></span></p>
<pre class="brush: php; title: ;">
//To show the captured content.Use the code:

{$smarty.capture.navbar}

//You can also assign the output to a template variable.

{capture name='navbar' assign='navmenu'}

//Then display the content using the variable.

{$navmenu}

//if name is not specified, &quot;default&quot; is used and can be displayed like this:

{$smarty.capture.default}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://phpwebdevelopment.org/smarty/reuse-html-code-in-smarty-using-capture-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql Tip for time based column in table</title>
		<link>http://phpwebdevelopment.org/mysql/mysql-tip-for-time-based-column-in-table/</link>
		<comments>http://phpwebdevelopment.org/mysql/mysql-tip-for-time-based-column-in-table/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 17:21:40 +0000</pubDate>
		<dc:creator>Hema</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://phpwebdevelopment.org/?p=202</guid>
		<description><![CDATA[Does the order of the columns or fields in a create table statement make a difference?  Well the answer for this is YES !!! create table testing ( a int, b int, UpdateTime timestamp, EnterTime timestamp ); The first timestamp will always be the &#8220;automatically generated&#8221; time. So whenever a record is updated, or inserted, [...]]]></description>
			<content:encoded><![CDATA[<p>Does the order of the columns or fields in a create table statement make a difference?  Well the answer for this is YES !!!</p>
<pre class="brush: sql; title: ;">

create table testing (
a int,
b int,
UpdateTime timestamp,
EnterTime timestamp );
</pre>
<p><span id="more-202"></span></p>
<p>The first timestamp will always be the &#8220;automatically generated&#8221; time. So whenever a record is updated, or inserted, this time gets changed. If we change the order,like &#8220;timeEnter&#8221; is before &#8220;UpdateTime&#8221;, then,  &#8220;EnterTime&#8221; would get updated.  First timestamp column updates automatically.</p>
<p>Note, in the table given above EnterTime will only get updated if passed a null value.</p>
<pre class="brush: sql; title: ;">

insert into testing (a,b,EnterTime) values (1,2,NULL);
select a,b,DATE_FORMAT(UpdateTime,'%m-%d-%Y %T'),DATE_FORMAT(EnterTime,'%m-%d-%Y %T') from testing;
</pre>
<p>+&#8212;&#8212;+&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+<br />
| a    | b    | DATE_FORMAT(UpdateTime,&#8217;%m-%d-%Y %T&#8217;) | DATE_FORMAT(EnterTime,&#8217;%m-%d-%Y %T&#8217;)    |<br />
+&#8212;&#8212;+&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+<br />
|    3 |    2 | 04-15-2004 19:14:36                                                   | 04-15-2004 19:15:07                                                  |<br />
|    3 |    2 | 04-15-2004 19:14:39                                                   | 04-15-2004 19:15:07                                                  |<br />
|    5 |    5 | 00-00-0000 00:00:00                                                 | 04-15-2004 19:15:53                                                   |<br />
|    1 |    2 | 00-00-0000 00:00:00                                                  | 04-15-2004 19:20:15                                                  |<br />
+&#8212;&#8212;+&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+<br />
4 rows in set (0.00 sec)</p>
]]></content:encoded>
			<wfw:commentRss>http://phpwebdevelopment.org/mysql/mysql-tip-for-time-based-column-in-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access more than one gmail account in IE 8</title>
		<link>http://phpwebdevelopment.org/others/access-more-than-one-gmail-account-in-ie-8/</link>
		<comments>http://phpwebdevelopment.org/others/access-more-than-one-gmail-account-in-ie-8/#comments</comments>
		<pubDate>Thu, 20 Jan 2011 14:06:16 +0000</pubDate>
		<dc:creator>Hema</dc:creator>
				<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://phpwebdevelopment.org/?p=293</guid>
		<description><![CDATA[If you are a gmail user and have more than one account then you can&#8217;t access your all the accounts at the same time in mozzilla firefox. If you will sign into another gmail account then you will get signed out of the account in which you are already signed in. But you can open [...]]]></description>
			<content:encoded><![CDATA[<p>If you are a gmail user and have more than one account then you can&#8217;t access your all the accounts at the same time in mozzilla firefox. If you will sign into another gmail account then you will get signed out of the account in which you are already signed in.</p>
<p>But you can open multiple gmail accounts in IE 8 as it provides you an option to open a new window with new session.For accessing multiple gmail accounts follow the steps:<br />
<span id="more-293"></span></p>
<p>1. First open Internet Explorer 8 and login to your Gmail account. But make sure that the Remember Me option is unchecked when you sign in.</p>
<p>2. Now Press Alt-F, I, and then hit Enter. or simply click new session option in file menu. This will open a new Internet Explorer session. Open Gmail and sign in with different account, and again make sure to uncheck Remember Me.<br />
This way you can access all your Gmail Accounts simulteneously.</p>
]]></content:encoded>
			<wfw:commentRss>http://phpwebdevelopment.org/others/access-more-than-one-gmail-account-in-ie-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

