<?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>Interview Questions</title>
	<atom:link href="http://www.phpinterviewquestion.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.phpinterviewquestion.com</link>
	<description>Interview Questions</description>
	<lastBuildDate>Sat, 14 Aug 2010 08:49:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>change the URL for a Hyperlink using jQuery</title>
		<link>http://www.phpinterviewquestion.com/jquery/change-the-url-for-a-hyperlink-using-jquery</link>
		<comments>http://www.phpinterviewquestion.com/jquery/change-the-url-for-a-hyperlink-using-jquery#comments</comments>
		<pubDate>Thu, 05 Aug 2010 09:15:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=871</guid>
		<description><![CDATA[			
				
			
		
There are three way to change the URL for a Hyperlink using jQuery.

1-   $("a").attr("href", "http://www.phpinterviewquestion.com/");

2-   $("a[href='http://www.phpinterviewquestion.com/']")
     .attr('href', 'http://phpinterviewquestion.com/');
3-  $("a[href^='http://phpinterviewquestion.com']").each(function()  {
      this.href = this.href.replace(/^http:\/\/beta\.phpinterviewquestion\.com/,
         "http://phpinterviewquestion.com");
   });






]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/jquery/change-the-url-for-a-hyperlink-using-jquery/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check or Uncheck All Checkboxes using jquery</title>
		<link>http://www.phpinterviewquestion.com/jquery/check-or-uncheck-all-checkboxes-using-jquery</link>
		<comments>http://www.phpinterviewquestion.com/jquery/check-or-uncheck-all-checkboxes-using-jquery#comments</comments>
		<pubDate>Wed, 04 Aug 2010 12:53:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=863</guid>
		<description><![CDATA[			
				
			
		
There  are different methods to check and uncheck the check boxes.
suppose that you have checkboxes like that
&#60;input type=&#8221;checkbox&#8221;  value=&#8221;1&#8243; name=&#8221;Items&#8221;  id=&#8221;Items1&#8243; /&#62;
&#60;input type=&#8221;checkbox&#8221;  value=&#8221;2&#8243; name=&#8221;Items&#8221;  id=&#8221;Items2&#8243; /&#62;
&#60;input type=&#8221;checkbox&#8221;  value=&#8221;3&#8243; name=&#8221;Items&#8221;  id=&#8221;Items3&#8243; /&#62;
&#60;input type=&#8221;checkbox&#8221;  value=&#8221;1&#8243; name=&#8221;Items&#8221;  id=&#8221;Items4&#8243; /&#62;
1- using attr() function.
$(&#8216;#checkall&#8217;).click(function(){
$(&#8221;input[@name='Items']:checked&#8221;).attr(&#8217;checked&#8217;,true);
});
$(&#8216;#uncheckall&#8217;).click(function(){
$(&#8221;input[@name='Items']:checked&#8221;).attr(&#8217;checked&#8217;,false);});
2- using attr() and removeAttr()funstions
$(&#8216;#checkall&#8217;).click(function(){
$(&#8221;input[@name='Items']:checked&#8221;).attr(&#8217;checked&#8217;,true);
});
$(&#8216;#uncheckall&#8217;).click(function(){
$(&#8221;input[@name='Items']:checked&#8221;).removeAttr(&#8217;checked&#8217;);});
Note- if your checkbox name is array type, then simple replace Items [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/jquery/check-or-uncheck-all-checkboxes-using-jquery/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fetch the values of selected checkbox array using JQuery</title>
		<link>http://www.phpinterviewquestion.com/jquery/fetch-the-values-of-selected-checkbox-array-using-jquery</link>
		<comments>http://www.phpinterviewquestion.com/jquery/fetch-the-values-of-selected-checkbox-array-using-jquery#comments</comments>
		<pubDate>Wed, 04 Aug 2010 08:59:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[selected checkbox array]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=860</guid>
		<description><![CDATA[			
				
			
		
Suppose that below is checkbox array
&#60;input type=&#8221;checkbox&#8221;  value=&#8221;1&#8243; name=&#8221;Items[]&#8220;  id=&#8221;Items1&#8243; /&#62;
&#60;input type=&#8221;checkbox&#8221;  value=&#8221;2&#8243; name=&#8221;Items[]&#8220;  id=&#8221;Items2&#8243; /&#62;
&#60;input type=&#8221;checkbox&#8221;  value=&#8221;3&#8243; name=&#8221;Items[]&#8220;  id=&#8221;Items3&#8243; /&#62;
&#60;input type=&#8221;checkbox&#8221;  value=&#8221;1&#8243; name=&#8221;Items[]&#8220;  id=&#8221;Items4&#8243; /&#62;
and we want the get the value of selected checkbox using jquery.
then simple use below code.
var selItems = new Array();
$(&#8220;input[@name='Items[]&#8216;]:checked&#8221;).each(function() {selItems .push($(this).val());});
Here selItems will take all selected value of checkbox.




]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/jquery/fetch-the-values-of-selected-checkbox-array-using-jquery/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whats new in HTML5?</title>
		<link>http://www.phpinterviewquestion.com/news/whats-new-in-html5</link>
		<comments>http://www.phpinterviewquestion.com/news/whats-new-in-html5#comments</comments>
		<pubDate>Tue, 03 Aug 2010 07:51:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=856</guid>
		<description><![CDATA[			
				
			
		
Introduction
HTML4 has been with us for a while now, roughly ten years. And it  hasn&#8217;t really seen a major update. Sure there&#8217;s XHTML, but that did     little more than make things slightly stricter &#8211; making you write  better quality code if you were at all concerned with compliance.  [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/news/whats-new-in-html5/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top shopping cart wordpress plugins</title>
		<link>http://www.phpinterviewquestion.com/wordpress_tutorials/top-10-shopping-cart-plugins</link>
		<comments>http://www.phpinterviewquestion.com/wordpress_tutorials/top-10-shopping-cart-plugins#comments</comments>
		<pubDate>Thu, 22 Jul 2010 19:40:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[E-commerce]]></category>
		<category><![CDATA[eShop]]></category>
		<category><![CDATA[Top 10 shopping cart wordpress plugins]]></category>
		<category><![CDATA[wordpress plugin]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=839</guid>
		<description><![CDATA[			
				
			
		
eShop
eShop is an accessible shopping cart plugin for WordPress, packed  with various features. Including:

Utilises WordPress pages, or posts, to create products
enhanced for WP3.0 users &#8211; customers can sign up to your site  (settable option)
Various methods available for listing products
Products can have multiple options
Upload downloadable products
Basic Statistics
Download sales data
Various shipping options, including by weight.
Admin [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/wordpress_tutorials/top-10-shopping-cart-plugins/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exclude Categories in Search Results  in wordpress</title>
		<link>http://www.phpinterviewquestion.com/wordpress_tutorials/exclude-categories-in-search-results-in-wordpress</link>
		<comments>http://www.phpinterviewquestion.com/wordpress_tutorials/exclude-categories-in-search-results-in-wordpress#comments</comments>
		<pubDate>Thu, 22 Jul 2010 19:27:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Exclude Categories in Search Results]]></category>
		<category><![CDATA[exclude category]]></category>
		<category><![CDATA[search wordpress]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=835</guid>
		<description><![CDATA[			
				
			
		
Below is the code to does not show the posts from category 9,14 during search.

&#60;?php
$page = (get_query_var('paged')) ? get_query_var('paged') : 1;
$s = get_query_var('s');
query_posts("s=$s&#38;cat=-9,-14&#38;paged=$page");
?&#62;

&#60;?php if (have_posts()) : while (have_posts()) : the_post(); ?&#62;
&#60;?php the_title(); ?&#62;&#60;br /&#62;&#60;br /&#62;
&#60;?php endwhile;endif;?&#62;
&#60;?php next_posts_link('&#38;laquo; Old Updates') ?&#62;
&#60;?php previous_posts_link('Latest Updates &#38;raquo;') ?&#62;
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/wordpress_tutorials/exclude-categories-in-search-results-in-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to prevent web browser to image caching.</title>
		<link>http://www.phpinterviewquestion.com/php-questions/how-to-prevent-web-browser-to-image-caching</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/how-to-prevent-web-browser-to-image-caching#comments</comments>
		<pubDate>Wed, 16 Jun 2010 07:48:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[image caching]]></category>
		<category><![CDATA[prevent web browser to image caching]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=832</guid>
		<description><![CDATA[			
				
			
		
The simple way to prevent image caching is to append time stamp with the name on image.
Ex-&#60;img src=’image.jpg?&#60;?php echo time() ?&#62;’ /&#62;
In the above code browser understand a new image at every call. But HTML parser understands “image.jpg” for every call.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/how-to-prevent-web-browser-to-image-caching/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How we can prevent Web browsers caching?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/how-we-can-prevent-web-browsers-caching</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/how-we-can-prevent-web-browsers-caching#comments</comments>
		<pubDate>Tue, 15 Jun 2010 07:56:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=830</guid>
		<description><![CDATA[			
				
			
		
Using HTML meta tags: we can prevent Web browsers caching.
&#60;meta http-equiv="Expires" content="Sun, 20 Fed 2000 01:11:11 GMT" 
/&#62; 
&#60;meta http-equiv="Pragma" content="no-cache" /&#62;
 
Here Meta tag tells the browser, cached copy of the page in back date.That means   browser should never cache the page.
But some browser does not support this approach .If you are working with [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/how-we-can-prevent-web-browsers-caching/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can we submit a form without a submit button?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/how-can-we-submit-a-form-without-a-submit-button</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/how-can-we-submit-a-form-without-a-submit-button#comments</comments>
		<pubDate>Mon, 14 Jun 2010 12:02:12 +0000</pubDate>
		<dc:creator>urooj</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=824</guid>
		<description><![CDATA[submit a form without a submit button]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/how-can-we-submit-a-form-without-a-submit-button/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where to change in php.ini file for file uploading?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/where-to-change-in-php-ini-file-for-file-uploading</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/where-to-change-in-php-ini-file-for-file-uploading#comments</comments>
		<pubDate>Mon, 14 Jun 2010 11:58:50 +0000</pubDate>
		<dc:creator>urooj</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=821</guid>
		<description><![CDATA[php.ini file for file uploading]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/where-to-change-in-php-ini-file-for-file-uploading/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is the default session time in PHP and how can I change it?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/what-is-the-default-session-time-in-php-and-how-can-i-change-it</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/what-is-the-default-session-time-in-php-and-how-can-i-change-it#comments</comments>
		<pubDate>Mon, 14 Jun 2010 11:53:40 +0000</pubDate>
		<dc:creator>urooj</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=819</guid>
		<description><![CDATA[Default session time in PHP]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/what-is-the-default-session-time-in-php-and-how-can-i-change-it/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can we increase Memory size in php during run time?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/how-can-we-increase-memory-size-in-php-during-run-time</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/how-can-we-increase-memory-size-in-php-during-run-time#comments</comments>
		<pubDate>Wed, 09 Jun 2010 20:06:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=816</guid>
		<description><![CDATA[			
				
			
		
using ini_set(&#8217;memory_limit&#8217;,'15M&#8217;); // now 15M space is set during run time.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/how-can-we-increase-memory-size-in-php-during-run-time/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can we change the value of php.ini during runtime?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/how-can-we-change-value-of-php-ini-during-runtime</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/how-can-we-change-value-of-php-ini-during-runtime#comments</comments>
		<pubDate>Wed, 09 Jun 2010 19:58:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=812</guid>
		<description><![CDATA[			
				
			
		
Using string ini_set (  string $varname ,  string $newvalue ).
you can change
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/how-can-we-change-value-of-php-ini-during-runtime/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to increase  Execution Time Limit in php Using ini_set()</title>
		<link>http://www.phpinterviewquestion.com/php-questions/how-to-increase-execution-time-limit-in-php-using-ini_set</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/how-to-increase-execution-time-limit-in-php-using-ini_set#comments</comments>
		<pubDate>Wed, 09 Jun 2010 19:54:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=809</guid>
		<description><![CDATA[			
				
			
		
To   increase the execution time for any php script simple use below code.
ini_set(&#8216;max_execution_time&#8217;, 240); //240seconds = 4 minutes
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/how-to-increase-execution-time-limit-in-php-using-ini_set/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is PHP?</title>
		<link>http://www.phpinterviewquestion.com/php-tutorial/what-is-php</link>
		<comments>http://www.phpinterviewquestion.com/php-tutorial/what-is-php#comments</comments>
		<pubDate>Tue, 01 Jun 2010 17:26:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Introduction]]></category>
		<category><![CDATA[PHP Tutorial]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/php-tutorial/what-is-php</guid>
		<description><![CDATA[			
				
			
		
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-tutorial/what-is-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q What are the two important changes in new versions of PHP that affect old code are ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-what-are-the-two-important-changes-in-new-versions-of-php-that-affect-old-code-are</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-what-are-the-two-important-changes-in-new-versions-of-php-that-affect-old-code-are#comments</comments>
		<pubDate>Tue, 01 Jun 2010 15:24:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=805</guid>
		<description><![CDATA[			
				
			
		
Ans: Following two of the most important recent changes that affect old code are:
The deprecation of the old $HTTP_*_VARS arrays (which need to be indicated as global when used inside a function or method). The following superglobal arrays were introduced in PHP » 4.1.0. They are: $_GET, $_POST, $_COOKIE, $_SERVER, $_FILES, $_ENV, $_REQUEST, and $_SESSION. [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-what-are-the-two-important-changes-in-new-versions-of-php-that-affect-old-code-are/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q  How the method of our form is POST ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-how-the-method-of-our-form-is-post</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-how-the-method-of-our-form-is-post#comments</comments>
		<pubDate>Tue, 01 Jun 2010 15:21:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=803</guid>
		<description><![CDATA[			
				
			
		
Ans: If we used the method GET then our form information would live in the $_GET superglobal instead.
You may also use the $_REQUEST superglobal. if you do not care about the source of your request data. It contains the merged information of GET, POST and COOKIE data.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-how-the-method-of-our-form-is-post/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q What does htmlspecialchars() do ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-what-does-htmlspecialchars-do</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-what-does-htmlspecialchars-do#comments</comments>
		<pubDate>Tue, 01 Jun 2010 15:17:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=801</guid>
		<description><![CDATA[			
				
			
		
Ans: It makes sure any characters that are special in html are properly
encoded  so people can&#8217;t inject HTML tags or Javascript into your page.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-what-does-htmlspecialchars-do/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q How can we print the data from our form ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-print-the-data-from-our-form</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-print-the-data-from-our-form#comments</comments>
		<pubDate>Tue, 01 Jun 2010 15:13:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=799</guid>
		<description><![CDATA[			
				
			
		
Ans: Hi &#60;?php echo htmlspecialchars($_POST['name']); ?&#62;.
You are &#60;?php echo (int)$_POST['age']; ?&#62; years old.
.  A sample output of this script may be:
Hi Joe. You are 22 years old.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-print-the-data-from-our-form/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q What does a strpos() function do ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-what-does-a-strpos-function-do</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-what-does-a-strpos-function-do#comments</comments>
		<pubDate>Tue, 01 Jun 2010 15:09:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=797</guid>
		<description><![CDATA[			
				
			
		
Ans: It is a function built into PHP which searches a
string for another string.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-what-does-a-strpos-function-do/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q Which of the variable that PHP makes automatically available to you ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-which-of-the-variable-that-php-makes-automatically-available-to-you</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-which-of-the-variable-that-php-makes-automatically-available-to-you#comments</comments>
		<pubDate>Tue, 01 Jun 2010 15:06:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=795</guid>
		<description><![CDATA[			
				
			
		
Ans: $_SERVER
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-which-of-the-variable-that-php-makes-automatically-available-to-you/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q How can we display $_SERVER variable ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-display-_server-variable</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-display-_server-variable#comments</comments>
		<pubDate>Mon, 31 May 2010 15:50:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=793</guid>
		<description><![CDATA[			
				
			
		
Ans: To display this variable-
Example:-  Printing a variable (Array element):-
&#60;?php
echo $_SERVER['HTTP_USER_AGENT'];
?&#62;
A sample output of this script may be:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-display-_server-variable/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q Where the all webserver information is stored in PHP ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-where-the-all-webserver-information-is-stored-in-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-where-the-all-webserver-information-is-stored-in-php#comments</comments>
		<pubDate>Mon, 31 May 2010 15:43:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=791</guid>
		<description><![CDATA[			
				
			
		
Ans: $_SERVER is a special reserved PHP variable that contains all web server information It is known as a superglobal.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-where-the-all-webserver-information-is-stored-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q How can you get the complete list of the PHP variables ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-how-can-you-get-the-complete-list-of-the-php-variables</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-how-can-you-get-the-complete-list-of-the-php-variables#comments</comments>
		<pubDate>Mon, 31 May 2010 15:39:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=789</guid>
		<description><![CDATA[			
				
			
		
Ans: By looking at the output of the phpinfo() function.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-how-can-you-get-the-complete-list-of-the-php-variables/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q How can we get system information from PHP ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-get-system-information-from-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-get-system-information-from-php#comments</comments>
		<pubDate>Mon, 31 May 2010 15:36:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=787</guid>
		<description><![CDATA[			
				
			
		
Ans: &#60;?php phpinfo(); ?&#62;
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-get-system-information-from-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q If you are writing your PHP scripts using windows notepad, you will need to           ensure that your files are saved with the .php extension.But notepad adds a .txt          extension to files automatically, Now how can we prevent this ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-if-you-are-writing-your-php-scripts-using-windows-notepad-you-will-need-to-ensure-that-your-files-are-saved-with-the-php-extension-but-notepad-adds-a-txt-extension-to-files-aut</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-if-you-are-writing-your-php-scripts-using-windows-notepad-you-will-need-to-ensure-that-your-files-are-saved-with-the-php-extension-but-notepad-adds-a-txt-extension-to-files-aut#comments</comments>
		<pubDate>Mon, 31 May 2010 15:32:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=785</guid>
		<description><![CDATA[			
				
			
		
Ans: We have to choose one of the following steps to prevent it-
(i) When you save the file and are prompted to provide a name for the file,
place the filename in quotes (i.e. &#8220;hello.php&#8221;).
(ii) you can click on the &#8216;Text Documents&#8217; drop-down menu in the
&#8216;Save&#8217; dialog box and change the setting to &#8220;All Files&#8221;.
You can [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-if-you-are-writing-your-php-scripts-using-windows-notepad-you-will-need-to-ensure-that-your-files-are-saved-with-the-php-extension-but-notepad-adds-a-txt-extension-to-files-aut/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q What do you mean by Text Editors? And list the some PHP editors ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-what-do-you-mean-by-text-editors-and-list-the-some-php-editors</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-what-do-you-mean-by-text-editors-and-list-the-some-php-editors#comments</comments>
		<pubDate>Mon, 31 May 2010 15:28:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=783</guid>
		<description><![CDATA[			
				
			
		
Ans: There are many text editors and Integrated Development Environments (IDEs) that you can use to create, edit and manage PHP files.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-what-do-you-mean-by-text-editors-and-list-the-some-php-editors/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q How can we remove a linefeed ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-remove-a-linefeed</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-remove-a-linefeed#comments</comments>
		<pubDate>Mon, 31 May 2010 14:02:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=781</guid>
		<description><![CDATA[			
				
			
		
Ans: A linefeed  A linefeed that follows immediately after a closing ?&#62; will be
removed by PHP.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-remove-a-linefeed/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q What do you mean by linefeed ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-what-do-you-mean-by-linefeed</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-what-do-you-mean-by-linefeed#comments</comments>
		<pubDate>Mon, 31 May 2010 13:41:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=777</guid>
		<description><![CDATA[			
				
			
		
Ans: Line feeds have little meaning in HTML, however it is still a good idea to make Your HTML look nice.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-what-do-you-mean-by-linefeed/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q how can we jump in and out of PHP mode in an HTML file ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-jump-in-and-out-of-php-mode-in-an-html-file</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-jump-in-and-out-of-php-mode-in-an-html-file#comments</comments>
		<pubDate>Mon, 31 May 2010 13:26:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=774</guid>
		<description><![CDATA[			
				
			
		
Ans: Using Starting (&#60; ?) and closing (? &#62;) tag we can jump in and out of PHP mode in  a HTML file.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-jump-in-and-out-of-php-mode-in-an-html-file/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q How can we start and close a PHP tag ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-start-and-close-a-php-tag</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-start-and-close-a-php-tag#comments</comments>
		<pubDate>Mon, 31 May 2010 13:10:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=772</guid>
		<description><![CDATA[			
				
			
		
Ans: To start a PHP tag-    &#60;?
To close a php tag-    ?&#62;
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-start-and-close-a-php-tag/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q How can we access the above file if we developing locallay ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-access-the-above-file-if-we-developing-locallay</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-access-the-above-file-if-we-developing-locallay#comments</comments>
		<pubDate>Mon, 31 May 2010 08:51:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=769</guid>
		<description><![CDATA[			
				
			
		
Ans:If we are developing locally this URL will be something like http://localhost/hello.php.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-access-the-above-file-if-we-developing-locallay/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q How can we create a PHP enabled Page ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-create-a-php-enabled-page</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-create-a-php-enabled-page#comments</comments>
		<pubDate>Mon, 31 May 2010 08:47:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=767</guid>
		<description><![CDATA[			
				
			
		
Ans: Firstly-
Create a file named hello.php and put it in your web server&#8217;s root
Directory (DOCUMENT-ROOT).
Example:
&#60;html&#62;
&#60;head&#62;
&#60;title&#62;PHP Test&#60;/title&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;?php echo &#8217;&#60;p&#62;Hello World&#60;/p&#62;&#8217;; ?&#62;
&#60;/body&#62;
&#60;/html&#62;
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-how-can-we-create-a-php-enabled-page/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q Which type of  files handled by PHP ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-which-type-of-files-handled-by-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-which-type-of-files-handled-by-php#comments</comments>
		<pubDate>Mon, 31 May 2010 08:43:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=765</guid>
		<description><![CDATA[			
				
			
		
Ans: All the files ending in .php are handled by the PHP.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-which-type-of-files-handled-by-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q How can be parsing and accessing XML documents using PHP ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-how-can-be-parsing-and-accessing-xml-documents-using-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-how-can-be-parsing-and-accessing-xml-documents-using-php#comments</comments>
		<pubDate>Mon, 31 May 2010 08:40:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=763</guid>
		<description><![CDATA[			
				
			
		
Ans: PHP has extremely useful text processing features-
(i) from the POSIX Extended or Perl regular expressions to parsing XML
Documents PHP 4 supports the SAX and DOM standards.
(ii) you can also use the XSLT extension to transform XML documents.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-how-can-be-parsing-and-accessing-xml-documents-using-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q How can you access the remote objects in PHP ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-how-can-you-access-the-remote-objects-in-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-how-can-you-access-the-remote-objects-in-php#comments</comments>
		<pubDate>Mon, 31 May 2010 08:37:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=761</guid>
		<description><![CDATA[			
				
			
		
Ans: we can access remote objects by using CORBA extension.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-how-can-you-access-the-remote-objects-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q Can you define Interconnection in PHP ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-can-you-define-interconnection-in-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-can-you-define-interconnection-in-php#comments</comments>
		<pubDate>Mon, 31 May 2010 08:35:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=759</guid>
		<description><![CDATA[			
				
			
		
Ans:  PHP has support for instantiation of Java objects and using them transparently-
As PHP objects .You can also use our CORBA extension to access remote
Objects.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-can-you-define-interconnection-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q Write the name of some databases that are currently supported to PHP ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-write-the-name-of-some-databases-that-are-currently-supported-to-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-write-the-name-of-some-databases-that-are-currently-supported-to-php#comments</comments>
		<pubDate>Mon, 31 May 2010 08:27:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=756</guid>
		<description><![CDATA[			
				
			
		
Ans: (i) MYSQL
(ii) Direct MS-SQL
(iii) Sybase
(iv) ODBC
(v)  oracle(OC 17 and OC 18)
(vi) mSQL
(vii)FrontBase
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-write-the-name-of-some-databases-that-are-currently-supported-to-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q what are the PHP abilities ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-what-are-the-php-abilities</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-what-are-the-php-abilities#comments</comments>
		<pubDate>Mon, 31 May 2010 08:24:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=754</guid>
		<description><![CDATA[			
				
			
		
Ans: (i) Outputting images
(ii) Pdf files
(iii) And even Flash movies( using libswfand Ming ) generated on the fly
(iv) You can also output any text, such as XHTML an any other XML file
(v) PHP can autogenerate these files and save them in the file system
(vi) instead of printing it(these files) out,forming a server side cache for [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-what-are-the-php-abilities/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QWrite name of the web servers to which PHP supports ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/qwrite-name-of-the-web-servers-to-which-php-supports</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/qwrite-name-of-the-web-servers-to-which-php-supports#comments</comments>
		<pubDate>Mon, 31 May 2010 08:20:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=752</guid>
		<description><![CDATA[			
				
			
		
Ans:  (i) Apache
(ii) MicroSoft Internet Information Server
(iii) personal web server
(iv)Netscape
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/qwrite-name-of-the-web-servers-to-which-php-supports/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q write the name of  some operating  systems of Php on which PHP can be used ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-write-the-name-of-some-operating-systems-of-php-on-which-php-can-be-used</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-write-the-name-of-some-operating-systems-of-php-on-which-php-can-be-used#comments</comments>
		<pubDate>Mon, 31 May 2010 08:17:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=750</guid>
		<description><![CDATA[			
				
			
		
Ans: Following are the operating systems on which PHP can be used-
(i)Linux
(ii)Many Unix variants( including HP-UX, Solaris and open BSD)
(iii)MicroSoft Windows
(iv)Mac OS
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-write-the-name-of-some-operating-systems-of-php-on-which-php-can-be-used/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q What is command line Sripting ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-what-is-command-line-sripting</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-what-is-command-line-sripting#comments</comments>
		<pubDate>Mon, 31 May 2010 08:12:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=748</guid>
		<description><![CDATA[			
				
			
		
Ans: In this You can make a PHP script to run it without any server or browser. You only need the PHP parser to use it this way.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-what-is-command-line-sripting/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q What is server side scripting ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-what-is-server-side-scripting</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-what-is-server-side-scripting#comments</comments>
		<pubDate>Mon, 31 May 2010 08:08:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=746</guid>
		<description><![CDATA[			
				
			
		
Ans: you need three things to make this work. The PHP parser (CGI or server module), a web server and a web browser. You need to run the web server, with a connected PHP installation.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-what-is-server-side-scripting/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q What are the main areas in which PHP script is used ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-what-are-the-main-areas-in-which-php-script-is-used</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-what-are-the-main-areas-in-which-php-script-is-used#comments</comments>
		<pubDate>Mon, 31 May 2010 08:04:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=744</guid>
		<description><![CDATA[			
				
			
		
Ans: there are three main areas in which PHP is used-
(i)Server side side scripting
(ii)Command line Scripting
(iii)Writing Desktop Applications
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-what-are-the-main-areas-in-which-php-script-is-used/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q What distinguishes PHP from something like client side Java Script ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-what-distinguishes-php-from-something-like-client-side-java-script</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-what-distinguishes-php-from-something-like-client-side-java-script#comments</comments>
		<pubDate>Mon, 31 May 2010 07:57:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=742</guid>
		<description><![CDATA[			
				
			
		
Ans:  Java script is applied on client side while in php code  executed on server side.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-what-distinguishes-php-from-something-like-client-side-java-script/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q .In PHP how can you jump in to and out of “php mode”?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/q-in-php-how-can-you-jump-in-to-and-out-of-%e2%80%9cphp-mode%e2%80%9d</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/q-in-php-how-can-you-jump-in-to-and-out-of-%e2%80%9cphp-mode%e2%80%9d#comments</comments>
		<pubDate>Mon, 31 May 2010 07:44:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=739</guid>
		<description><![CDATA[			
				
			
		
Ans: The Php code is enclosed in special Start &#60; ? and end ? &#62; tags that allow you to jump in to and out of “php mode”.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/q-in-php-how-can-you-jump-in-to-and-out-of-%e2%80%9cphp-mode%e2%80%9d/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What does a special set of tags  do in PHP?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/what-does-a-special-set-of-tags-do-in-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/what-does-a-special-set-of-tags-do-in-php#comments</comments>
		<pubDate>Fri, 28 May 2010 16:34:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=734</guid>
		<description><![CDATA[			
				
			
		
The tags &#60;?= and ?&#62;  displayed  output directly to the web  browser.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/what-does-a-special-set-of-tags-do-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can we Calculate the similarity between two strings</title>
		<link>http://www.phpinterviewquestion.com/php-questions/how-can-we-calculate-the-similarity-between-two-strings</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/how-can-we-calculate-the-similarity-between-two-strings#comments</comments>
		<pubDate>Sun, 11 Apr 2010 11:51:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=728</guid>
		<description><![CDATA[			
				
			
		
Using similar_text() we can get similarity between two strings.
Return Values
Returns the number of matching chars in both strings.
example
&#60;?php
$first =&#8217;php3&#8242;;
$first =&#8217;php4&#8242;;
echo similar_text ( $first, $second  )  //3
?&#62;
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/how-can-we-calculate-the-similarity-between-two-strings/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Return ASCII value of character in php?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/return-ascii-value-of-character-in-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/return-ascii-value-of-character-in-php#comments</comments>
		<pubDate>Sun, 11 Apr 2010 11:47:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=726</guid>
		<description><![CDATA[			
				
			
		
using ord() method we can get ASCII value of character in php.
&#60;?php
$str = "\n";
if (ord($str) == 10) {
echo "The first character of \$str is a line feed.\n";
}
?&#62; 
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/return-ascii-value-of-character-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can we format a number as &#8220;22.00&#8243; in php ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/how-can-we-format-a-number-as-22-00-in-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/how-can-we-format-a-number-as-22-00-in-php#comments</comments>
		<pubDate>Sun, 11 Apr 2010 11:46:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=724</guid>
		<description><![CDATA[			
				
			
		
using  number_format() function.
&#60;?php
$number = 1234.56;
// english notation (default)
$english_format_number = number_format($number);
// 1,235
// French notation
$nombre_format_francais = number_format($number, 2, ',', ' ');
// 1 234,56
$number = 1234.5678;
// english notation without thousands seperator
$english_format_number = number_format($number, 2, '.', '');
// 1234.57
?&#62; 
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/how-can-we-format-a-number-as-22-00-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how can we insert HTML line breaks before all newlines in a string</title>
		<link>http://www.phpinterviewquestion.com/php-questions/how-can-we-insert-html-line-breaks-before-all-newlines-in-a-string</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/how-can-we-insert-html-line-breaks-before-all-newlines-in-a-string#comments</comments>
		<pubDate>Sun, 11 Apr 2010 11:44:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=722</guid>
		<description><![CDATA[			
				
			
		
using nl2br function
nl2br — Inserts HTML line breaks before all newlines in a string
&#60;?php
echo nl2br("foo isn't\n bar");
?&#62; 
The above example will output:
foo isn't&#60;br /&#62;
 bar
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/how-can-we-insert-html-line-breaks-before-all-newlines-in-a-string/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>what does  money_format() function in php?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/what-does-money_format-function-in-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/what-does-money_format-function-in-php#comments</comments>
		<pubDate>Sun, 11 Apr 2010 11:42:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=719</guid>
		<description><![CDATA[			
				
			
		
money_format — Formats a number as a currency string

We will use different locales and format specifications to illustrate the use  of this function.
&#60;?php
$number = 1234.56;
// let's print the international format for the en_US locale
setlocale(LC_MONETARY, 'en_US');
echo money_format('%i', $number) . "\n";
// USD 1,234.56
// Italian national format with 2 decimals`
setlocale(LC_MONETARY, 'it_IT');
echo money_format('%.2n', $number) . "\n";
// L. 1.234,56
// Using a negative number
$number = -1234.5672;
// US national format, using () for negative numbers
// and 10 digits for left precision
setlocale(LC_MONETARY, 'en_US');
echo money_format('%(#10n', $number) . "\n";
// ($        1,234.57)
// Similar format as above, adding the use of 2 digits of right
// precision and '*' as a fill character
echo money_format('%=*(#10.2n', $number) . "\n";
// ($********1,234.57)
// Let's justify to the left, with 14 positions of width, 8 digits of
// left precision, 2 of right precision, withouth grouping character
// and using the international format for the de_DE locale.
setlocale(LC_MONETARY, 'de_DE');
echo money_format('%=*^-14#8.2i', 1234.56) . "\n";
// DEM 1234,56****
// Let's add some blurb before and after the conversion specification
setlocale(LC_MONETARY, 'en_GB');
$fmt = 'The final value is %i (after a 10%% discount)';
echo money_format($fmt, 1234.56) . "\n";
// The final value is  GBP 1,234.56 (after a 10% discount)
?&#62; 
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/what-does-money_format-function-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>what is difference between explode and implode functions?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/what-is-diffrence-between-explode-and-implode-functions</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/what-is-diffrence-between-explode-and-implode-functions#comments</comments>
		<pubDate>Sun, 11 Apr 2010 11:35:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=715</guid>
		<description><![CDATA[			
				
			
		
explode — Split a string by string
explode,  split a string and return an array by using niddle in the string.
Example . explode() 
&#60;?php
// Example 1
$history= "php4 php5 php6";
$pieces = explode(" ", $history);
echo $history[0]; // php3
echo $history[1]; // php4
echo $history[1]; // php5
?&#62;
implode — Join array elements with a string
Example: implode() example
&#60;?php
$array = array('lastname', 'email', 'phone');
$comma_separated = implode(",", $array);
echo $comma_separated; // lastname,email,phone
?&#62; 
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/what-is-diffrence-between-explode-and-implode-functions/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Count character in the string &#8220;Two Ts and one F.&#8221; in php ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/count-character-in-the-string-two-ts-and-one-f-in-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/count-character-in-the-string-two-ts-and-one-f-in-php#comments</comments>
		<pubDate>Sun, 11 Apr 2010 11:26:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=712</guid>
		<description><![CDATA[			
				
			
		
To count the total number of characters  in the given string.
we will use count_chars() funtion 
count_chars — Return information about characters used in a string
Return Values
Depending on mode count_chars() returns one of the  following:


0 &#8211; an array with the byte-value as key and the frequency of every byte as  value.
1 &#8211; same as [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/count-character-in-the-string-two-ts-and-one-f-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>what is difference between addslashes() and addcslashes()</title>
		<link>http://www.phpinterviewquestion.com/php-questions/what-is-difference-between-addslashes-and-addcslashes</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/what-is-difference-between-addslashes-and-addcslashes#comments</comments>
		<pubDate>Sun, 11 Apr 2010 11:21:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=709</guid>
		<description><![CDATA[			
				
			
		
addslashes — Quote string with slashes
Returns a string with backslashes before characters that need to be quoted in  database queries etc. These characters are single quote (&#8216;), double  quote (&#8220;), backslash (\) and NUL (the NULL byte).
&#60;?php
$str = "Is your name O'reilly?";
// Outputs: Is your name O\'reilly? 
echo addslashes($str);
?&#62;

addcslashes — Quote string with slashes in a C style
Returns a string with [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/what-is-difference-between-addslashes-and-addcslashes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>what is addcslashes() in php?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/what-is-addcslashes-in-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/what-is-addcslashes-in-php#comments</comments>
		<pubDate>Sun, 11 Apr 2010 11:18:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[addcslashes]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=707</guid>
		<description><![CDATA[			
				
			
		
addcslashes — Quote string with slashes in a C style
&#60;?php
echo addcslashes('foo[ ]', 'A..z');
// output:  \f\o\o\[ \]
// All upper and lower-case letters will be escaped
// ... but so will the [\]^_` and any tabs, line
// feeds, carriage returns, etc.
?&#62;

&#60;?php
echo addcslashes("zoo['.']", 'z..A');
// output:  \zoo['\.']
?&#62; 

]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/what-is-addcslashes-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What’s the difference between htmlentities() and htmlspecialchars()?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/what%e2%80%99s-the-difference-between-htmlentities-and-htmlspecialchars</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/what%e2%80%99s-the-difference-between-htmlentities-and-htmlspecialchars#comments</comments>
		<pubDate>Sun, 11 Apr 2010 11:15:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[htmlentities]]></category>
		<category><![CDATA[htmlspecialchars]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=704</guid>
		<description><![CDATA[			
				
			
		
htmlentities — Convert all applicable characters to HTML entities
&#60;?php
$str = "A 'quote' is &#60;b&#62;bold&#60;/b&#62;";
// Outputs: A 'quote' is &#38;lt;b&#38;gt;bold&#38;lt;/b&#38;gt;
echo htmlentities($str);
// Outputs: A &#38;#039;quote&#38;#039; is &#38;lt;b&#38;gt;bold&#38;lt;/b&#38;gt;
echo htmlentities($str, ENT_QUOTES);
?&#62;
htmlspecialchars — Convert special characters to HTML entities

&#60;?php
$new = htmlspecialchars("&#60;a href='test'&#62;Test&#60;/a&#62;", ENT_QUOTES);
echo $new; // &#38;lt;a href=&#38;#039;test&#38;#039;&#38;gt;Test&#38;lt;/a&#38;gt;
?&#62; 


]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/what%e2%80%99s-the-difference-between-htmlentities-and-htmlspecialchars/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is hashing in c?</title>
		<link>http://www.phpinterviewquestion.com/c/what-is-hashing-in-c</link>
		<comments>http://www.phpinterviewquestion.com/c/what-is-hashing-in-c#comments</comments>
		<pubDate>Mon, 22 Feb 2010 16:54:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[hashing]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=696</guid>
		<description><![CDATA[			
				
			
		
Hashing is a process for message digest. Hash  value  is the collection of text.
Producing hash values for accessing data or for security. A  hash value (or simply hash), also called a message digest,  is a number generated from a string of text. The hash is substantially smaller than the text itself, and is [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/c/what-is-hashing-in-c/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What is  static variable ?</title>
		<link>http://www.phpinterviewquestion.com/c/what-is-static-variable</link>
		<comments>http://www.phpinterviewquestion.com/c/what-is-static-variable#comments</comments>
		<pubDate>Mon, 22 Feb 2010 16:18:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[What is  static variable]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=692</guid>
		<description><![CDATA[			
				
			
		
Basically it has three core feature.
1. It retains the value between function calls.
2.By default function is extern..so it will be visible from other  files if the function declaration is as static..it is invisible for  the outer files
3. By default we can use the global variables from outside files If it  is static [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/c/what-is-static-variable/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generate Unique number in php and mysql</title>
		<link>http://www.phpinterviewquestion.com/php-questions/generate-unique-number-in-php-and-mysql</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/generate-unique-number-in-php-and-mysql#comments</comments>
		<pubDate>Tue, 16 Feb 2010 19:36:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Generate Unique number in php and mysql]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=689</guid>
		<description><![CDATA[			
				
			
		
There are number of way to generate unique number or id in mysql  and  php.
Using Rand() function. we can get random data with in limit
SELECT * FROM company ORDER BY RAND() LIMIT 10


&#60;?
 echo str_replace ("}","",str_replace("{","",com_create_guid()));
?&#62;
&#60;? $number = mt_rand(500,1000); ?&#62;



&#60;? $uniqid = date('U') . mt_rand(0,9); ?&#62;

&#60;? echo time();?&#62;





]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/generate-unique-number-in-php-and-mysql/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Get file extension using PHP</title>
		<link>http://www.phpinterviewquestion.com/php-questions/get-file-extension-using-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/get-file-extension-using-php#comments</comments>
		<pubDate>Tue, 16 Feb 2010 19:07:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Get file extension using PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=684</guid>
		<description><![CDATA[			
				
			
		
There are number of way to get file extension in php.



function getFileExtension($filename)


{


$fileinfo= pathinfo($filename);


return $fileinfo['extension'];


}



 
$ext = end(explode(&#8216;.&#8217;, $file));
$ext = substr(strrchr($file, &#8216;.&#8217;), 1);
$ext = substr($file, strrpos($file, '.') + 1);

$ext = preg_replace('/^.*\.([^.]+)$/D', '$1', $file);

$exts = split("[/\\.]", $file);

$n = count($exts)-1;
$ext = $exts[$n];

]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/get-file-extension-using-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show child Pages of a specific parent Page</title>
		<link>http://www.phpinterviewquestion.com/php-questions/show-child-pages-of-a-specific-parent-page</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/show-child-pages-of-a-specific-parent-page#comments</comments>
		<pubDate>Fri, 05 Feb 2010 18:37:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Show child Pages of a specific parent Page]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=675</guid>
		<description><![CDATA[			
				
			
		
you can use below code to show all child of
 parent who has id 10.
&#60;?php wp_list_cats('child_of=10'); ?&#62;

you can also use this

&#60;?php wp_list_pages('child_of=10&#38;
sort_column=post_title&#38;title_li=') ?&#62;


]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/show-child-pages-of-a-specific-parent-page/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Show parent page title even on child page</title>
		<link>http://www.phpinterviewquestion.com/php-questions/how-to-show-parent-page-title-even-on-child-page</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/how-to-show-parent-page-title-even-on-child-page#comments</comments>
		<pubDate>Fri, 05 Feb 2010 18:34:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[How to Show parent page title even on child page]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=672</guid>
		<description><![CDATA[			
				
			
		
&#60;?php
if($post-&#62;post_parent) {
    $parent_title = get_the_title($post-&#62;post_parent);
    echo $parent_title;
} else {
    wp_title('');
}
?&#62;
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/how-to-show-parent-page-title-even-on-child-page/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to kill a MySQL query?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/how-to-kill-a-mysql-query</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/how-to-kill-a-mysql-query#comments</comments>
		<pubDate>Wed, 03 Feb 2010 19:07:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=667</guid>
		<description><![CDATA[			
				
			
		
If you fired a query, that takes more time to complete their execution.
but you want to stop this query.
To stop this query you must use Kill command  to achieve it.
Follow two step to kill your query.
mysql&#62; SHOW PROCESSLIST;
above command will show all running process on the server.
Here you will see thread ID return by [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/how-to-kill-a-mysql-query/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing The Title Attribute From wp_list_categories &amp; wp_list_pages</title>
		<link>http://www.phpinterviewquestion.com/wordpress_tutorials/removing-the-title-attribute-from-wp_list_categories-wp_list_pages</link>
		<comments>http://www.phpinterviewquestion.com/wordpress_tutorials/removing-the-title-attribute-from-wp_list_categories-wp_list_pages#comments</comments>
		<pubDate>Sat, 23 Jan 2010 20:10:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=661</guid>
		<description><![CDATA[			
				
			
		
Use  Exact Below code for  categories  and pages.
wp_list_categories:  
&#60;?php $title_free_cats = wp_list_categories(&#8216;echo=0&#8242;);
$title_free_cats = preg_replace(&#8216;/title=\&#8221;(.*?)\&#8221;/&#8217;,&#8221;,$title_free_cats);
echo $title_free_cats; ?&#62;



wp_list_pages:
&#60;?php $title_free_pages = wp_list_pages(&#8216;echo=0&#8242;); $title_free_pages = preg_replace(&#8216;/title=\&#8221;(.*?)\&#8221;/&#8217;,&#8221;,$title_free_pages); echo $title_free_pages; ?&#62;

]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/wordpress_tutorials/removing-the-title-attribute-from-wp_list_categories-wp_list_pages/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Exclude category from RSS feed in wordpress</title>
		<link>http://www.phpinterviewquestion.com/wordpress_tutorials/exclude-category-from-rss-fee-in-wordpress</link>
		<comments>http://www.phpinterviewquestion.com/wordpress_tutorials/exclude-category-from-rss-fee-in-wordpress#comments</comments>
		<pubDate>Fri, 22 Jan 2010 18:29:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=651</guid>
		<description><![CDATA[			
				
			
		
To exclude category in wordpress rss feed.
you can simple write.
&#60;a href="&#60;?php bloginfo('url'); ?&#62;/feed?cat=-1&#38;cat=-2"&#62;(RSS)&#60;/a&#62;

or you can simple  write below code in your theme function.php
to exclude category categories.


function excludeCat($query) {
 if ($query-&#62;is_feed) {
 $query-&#62;set('cat','-1');// for multiple use with , eg-  -1,-2,-3
 }
return $query;
 }
add_filter('pre_get_posts','excludeCat');
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/wordpress_tutorials/exclude-category-from-rss-fee-in-wordpress/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Enable session in wordpress</title>
		<link>http://www.phpinterviewquestion.com/wordpress_tutorials/enable-session-in-wordpress</link>
		<comments>http://www.phpinterviewquestion.com/wordpress_tutorials/enable-session-in-wordpress#comments</comments>
		<pubDate>Fri, 22 Jan 2010 18:25:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Enable session in wordpress]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=649</guid>
		<description><![CDATA[			
				
			
		
wordpress does not provide the facility to enable session into wordpress.
but for enable session in wordpress you need to add
add_action(‘init’, &#8217;sessionStart’));
function sessionStart()
{
if ( ! session_id())
session_start();
}
code in your theme  function.php.
But you must installed exec-php plugin to enable php code.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/wordpress_tutorials/enable-session-in-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How we can apply css in multiple Selectors in jquery.</title>
		<link>http://www.phpinterviewquestion.com/jquery/how-we-can-apply-css-in-multiple-selectors-in-jquery</link>
		<comments>http://www.phpinterviewquestion.com/jquery/how-we-can-apply-css-in-multiple-selectors-in-jquery#comments</comments>
		<pubDate>Wed, 20 Jan 2010 18:23:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[multiple Selectors in jquery]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=646</guid>
		<description><![CDATA[			
				
			
		
Here is example to  demonstrate 
$(&#8221;div,span,p.myClass&#8221;).css(&#8221;border&#8221;,&#8221;1px solid green&#8221;);
the border will be apply in all div,span ,p.myClass class element.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/jquery/how-we-can-apply-css-in-multiple-selectors-in-jquery/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How we can modify the css class in jquery.</title>
		<link>http://www.phpinterviewquestion.com/jquery/how-we-can-modify-the-css-class-in-jquery</link>
		<comments>http://www.phpinterviewquestion.com/jquery/how-we-can-modify-the-css-class-in-jquery#comments</comments>
		<pubDate>Wed, 20 Jan 2010 18:17:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Modify the css class in jquery]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=642</guid>
		<description><![CDATA[			
				
			
		
Using css method we can modify class using jquery
example:$(&#8221;.CssClass1.CssClass2&#8243;).css(&#8221;border&#8221;,&#8221;1px solid green&#8221;);
CssClass1,CssClass2 will be modify to border 1px solid green.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/jquery/how-we-can-modify-the-css-class-in-jquery/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can we apply css in div using jquery.</title>
		<link>http://www.phpinterviewquestion.com/jquery/how-can-we-apply-css-in-div-using-jquery</link>
		<comments>http://www.phpinterviewquestion.com/jquery/how-can-we-apply-css-in-div-using-jquery#comments</comments>
		<pubDate>Wed, 20 Jan 2010 18:13:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=639</guid>
		<description><![CDATA[			
				
			
		
using css() method we can apply css in div element.
example:
$(&#8221;div&#8221;).css(&#8221;border&#8221;,&#8221;1px solid green&#8221;);
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/jquery/how-can-we-apply-css-in-div-using-jquery/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>get the value of selected option in jquery</title>
		<link>http://www.phpinterviewquestion.com/jquery/get-the-value-of-selected-option-in-jquery</link>
		<comments>http://www.phpinterviewquestion.com/jquery/get-the-value-of-selected-option-in-jquery#comments</comments>
		<pubDate>Wed, 20 Jan 2010 18:07:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[get the value of selected option in jquery]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=637</guid>
		<description><![CDATA[			
				
			
		
suppose that below is the  selectbox/combobox
&#60;select id="sel"&#62;
   &#60;option value="1"&#62;Hi&#60;/option&#62;
   &#60;option value="2"&#62;Hello&#60;/option&#62;
   &#60;option value="3"&#62;Helloooooo&#60;/option&#62;
   &#60;option value="4"&#62;ok&#60;/option&#62;
   &#60;option value="5"&#62;Okey&#60;/option&#62;
 &#60;/select&#62;

want to get  the  value of selected option, then use
 $("select#sel").val();

or get the text of selected box, then use
$("#seloption:selected").text();

Example



   Hi
   Hello
  [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/jquery/get-the-value-of-selected-option-in-jquery/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>check/uncheck an input in jquery?</title>
		<link>http://www.phpinterviewquestion.com/jquery/checkuncheck-an-input-in-jquery</link>
		<comments>http://www.phpinterviewquestion.com/jquery/checkuncheck-an-input-in-jquery#comments</comments>
		<pubDate>Wed, 20 Jan 2010 17:22:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=635</guid>
		<description><![CDATA[			
				
			
		
Using two function, we can perform the operation.
// Check #x
 $(&#8221;#checkboxid&#8221;).attr(&#8221;checked&#8221;, &#8220;checked&#8221;);
 // Uncheck #x
 $(&#8221;#checkboxid&#8221;).removeAttr(&#8221;checked&#8221;);
Example
 
 I&#8217;ll be checked/unchecked.


]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/jquery/checkuncheck-an-input-in-jquery/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>disable/enable an element in jquery?</title>
		<link>http://www.phpinterviewquestion.com/jquery/disableenable-an-element-in-jquery</link>
		<comments>http://www.phpinterviewquestion.com/jquery/disableenable-an-element-in-jquery#comments</comments>
		<pubDate>Wed, 20 Jan 2010 16:30:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[disable/enable an element in jquery]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=631</guid>
		<description><![CDATA[			
				
			
		
you can disable/enable web element using attr and  removeAttr functions respectively
 // Disable #x
 $(&#8221;#x&#8221;).attr(&#8221;disabled&#8221;,&#8221;disabled&#8221;);
 // Enable #x
 $(&#8221;#x&#8221;).removeAttr(&#8221;disabled&#8221;);
Example:

   one
   two
 


]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/jquery/disableenable-an-element-in-jquery/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I determine the state of a toggled element?</title>
		<link>http://www.phpinterviewquestion.com/jquery/how-do-i-determine-the-state-of-a-toggled-element</link>
		<comments>http://www.phpinterviewquestion.com/jquery/how-do-i-determine-the-state-of-a-toggled-element#comments</comments>
		<pubDate>Wed, 20 Jan 2010 16:26:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[toggled element in jquery]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=629</guid>
		<description><![CDATA[			
				
			
		
Here is the example of toggled  element  using the :visible or :hidden selectors.
 var vis = $(&#8217;#formdiv&#8217;).is(&#8217;:visible&#8217;);
 var hide= $(&#8217;#formdiv&#8217;).is(&#8217;:hidden&#8217;);
If you want to show a div visibility, then there is example for this
 For example:
 $(&#8217;#formdiv:visible&#8217;).animate({left: &#8216;+=100px&#8217;}, &#8217;slow&#8217;);
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/jquery/how-do-i-determine-the-state-of-a-toggled-element/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I test whether an element exists?</title>
		<link>http://www.phpinterviewquestion.com/jquery/how-do-i-test-whether-an-element-exists</link>
		<comments>http://www.phpinterviewquestion.com/jquery/how-do-i-test-whether-an-element-exists#comments</comments>
		<pubDate>Tue, 19 Jan 2010 17:59:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=627</guid>
		<description><![CDATA[			
				
			
		
    *  You can use the length property of the jQuery collection returned by your selector: 
if ( $(&#8217;#myDiv&#8217;).length )
  $(&#8217;#myDiv&#8217;).show();
Note: It isn&#8217;t always necessary to test whether an element exists. The following code would show the item if it exists, and do nothing (no errors) if it did not:
$(&#8217;#myDiv&#8217;).show();
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/jquery/how-do-i-test-whether-an-element-exists/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I test whether an element has a particular class?</title>
		<link>http://www.phpinterviewquestion.com/jquery/how-do-i-test-whether-an-element-has-a-particular-class</link>
		<comments>http://www.phpinterviewquestion.com/jquery/how-do-i-test-whether-an-element-has-a-particular-class#comments</comments>
		<pubDate>Tue, 19 Jan 2010 17:58:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=625</guid>
		<description><![CDATA[			
				
			
		
    *  You can use the is() method along with an appropriate selector 
 if ( $(&#8217;#myDiv&#8217;).is(&#8217;.pretty&#8217;) )
   $(&#8217;#myDiv&#8217;).show();
Note that this method allows you to test for other things as well. For example, you can test whether an element is hidden (by using the custom :hidden selector):
 if ( [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/jquery/how-do-i-test-whether-an-element-has-a-particular-class/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is viewstate in ASP.NET?</title>
		<link>http://www.phpinterviewquestion.com/net_interview-questions/asp-net/what-is-viewstate-in-asp-net</link>
		<comments>http://www.phpinterviewquestion.com/net_interview-questions/asp-net/what-is-viewstate-in-asp-net#comments</comments>
		<pubDate>Sat, 16 Jan 2010 19:27:06 +0000</pubDate>
		<dc:creator>urooj</dc:creator>
				<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[viewstate]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=606</guid>
		<description><![CDATA[Viewstate object is used to persist data of variables across postbacks. It even existed in classic ASP. ]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/net_interview-questions/asp-net/what-is-viewstate-in-asp-net/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Explain the access specifiers Public, Private, Protected, Friend, Internal, Default</title>
		<link>http://www.phpinterviewquestion.com/net_interview-questions/c-sharp/explain-the-access-specifiers-public-private-protected-friend-internal-default</link>
		<comments>http://www.phpinterviewquestion.com/net_interview-questions/c-sharp/explain-the-access-specifiers-public-private-protected-friend-internal-default#comments</comments>
		<pubDate>Sat, 16 Jan 2010 19:19:17 +0000</pubDate>
		<dc:creator>urooj</dc:creator>
				<category><![CDATA[C Sharp]]></category>
		<category><![CDATA[access specifiers Public]]></category>
		<category><![CDATA[Default]]></category>
		<category><![CDATA[Friend]]></category>
		<category><![CDATA[Internal]]></category>
		<category><![CDATA[Private]]></category>
		<category><![CDATA[Protected]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=602</guid>
		<description><![CDATA[access specifiers Public, Private, Protected, Friend, Internal, Default]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/net_interview-questions/c-sharp/explain-the-access-specifiers-public-private-protected-friend-internal-default/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Update,Edit and delete a row in GridView?</title>
		<link>http://www.phpinterviewquestion.com/net_interview-questions/asp-net/how-to-updateedit-and-delete-a-row-in-gridview</link>
		<comments>http://www.phpinterviewquestion.com/net_interview-questions/asp-net/how-to-updateedit-and-delete-a-row-in-gridview#comments</comments>
		<pubDate>Fri, 15 Jan 2010 20:22:10 +0000</pubDate>
		<dc:creator>urooj</dc:creator>
				<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[GridView]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=597</guid>
		<description><![CDATA[Update,Edit and delete a row in GridView]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/net_interview-questions/asp-net/how-to-updateedit-and-delete-a-row-in-gridview/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>what is pl/sql?</title>
		<link>http://www.phpinterviewquestion.com/oracle/plsql/what-is-plsql</link>
		<comments>http://www.phpinterviewquestion.com/oracle/plsql/what-is-plsql#comments</comments>
		<pubDate>Fri, 15 Jan 2010 19:56:01 +0000</pubDate>
		<dc:creator>urooj</dc:creator>
				<category><![CDATA[PL/SQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=586</guid>
		<description><![CDATA[pl/sql]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/oracle/plsql/what-is-plsql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Differences between DROP and TRUNCATE a table?</title>
		<link>http://www.phpinterviewquestion.com/mysql/differences-between-drop-and-truncate-a-table</link>
		<comments>http://www.phpinterviewquestion.com/mysql/differences-between-drop-and-truncate-a-table#comments</comments>
		<pubDate>Fri, 15 Jan 2010 19:27:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[DROP and TRUNCATE]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=591</guid>
		<description><![CDATA[			
				
			
		
DROP TABLE table_name &#8211; This will delete the table and its data.
TRUNCATE TABLE table_name &#8211; This will delete the data of the table, but not the table definition.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/differences-between-drop-and-truncate-a-table/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How many tables present in MySQL</title>
		<link>http://www.phpinterviewquestion.com/php-questions/how-many-tables-present-in-mysql</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/how-many-tables-present-in-mysql#comments</comments>
		<pubDate>Fri, 15 Jan 2010 19:25:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[tables present in MySQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=589</guid>
		<description><![CDATA[			
				
			
		
Total 5 types of tables we can create
1. MyISAM
2. Heap
3. Merge
4. INNO DB
5. ISAM
MyISAM is the default storage engine as of MySQL 3.23. When you fire the above create query MySQL will create a MyISAM table.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/how-many-tables-present-in-mysql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>what is difference between &#8220;$a dollars&#8221; or &#8220;{$a} dollars&#8221; ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/what-is-difference-between-a-dollars-or-a-dollars</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/what-is-difference-between-a-dollars-or-a-dollars#comments</comments>
		<pubDate>Fri, 15 Jan 2010 19:22:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=587</guid>
		<description><![CDATA[			
				
			
		
Best way to understand the problem is example.
&#60;?php
$a=’Hello’;
Echo “$aworld” // blank because it treat as variable
Echo “{$a}world” // Helloworld
?&#62;
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/what-is-difference-between-a-dollars-or-a-dollars/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WHAT IS TRIGGER IN ORACLE?</title>
		<link>http://www.phpinterviewquestion.com/oracle/plsql/what-is-trigger-in-oracle</link>
		<comments>http://www.phpinterviewquestion.com/oracle/plsql/what-is-trigger-in-oracle#comments</comments>
		<pubDate>Thu, 14 Jan 2010 21:39:20 +0000</pubDate>
		<dc:creator>urooj</dc:creator>
				<category><![CDATA[PL/SQL]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=574</guid>
		<description><![CDATA[TRIGGER,DML]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/oracle/plsql/what-is-trigger-in-oracle/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how we will define constant in pl/sql?</title>
		<link>http://www.phpinterviewquestion.com/oracle/plsql/how-we-will-define-constant-in-plsql</link>
		<comments>http://www.phpinterviewquestion.com/oracle/plsql/how-we-will-define-constant-in-plsql#comments</comments>
		<pubDate>Wed, 13 Jan 2010 18:46:05 +0000</pubDate>
		<dc:creator>urooj</dc:creator>
				<category><![CDATA[PL/SQL]]></category>
		<category><![CDATA[constant in pl/sql]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=571</guid>
		<description><![CDATA[Constant is a value used in a PL/SQL Block that remains unchanged throughout the program. A constant is a user-defined literal value. You can declare a constant and use it instead of actual value.]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/oracle/plsql/how-we-will-define-constant-in-plsql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>what is encapsulation?</title>
		<link>http://www.phpinterviewquestion.com/oops/what-is-encapsulation-2</link>
		<comments>http://www.phpinterviewquestion.com/oops/what-is-encapsulation-2#comments</comments>
		<pubDate>Tue, 12 Jan 2010 18:56:33 +0000</pubDate>
		<dc:creator>urooj</dc:creator>
				<category><![CDATA[Oops]]></category>
		<category><![CDATA[encapsulation]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=567</guid>
		<description><![CDATA[what is encapsulation? ]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/oops/what-is-encapsulation-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>what is oops?</title>
		<link>http://www.phpinterviewquestion.com/oops/what-is-oops</link>
		<comments>http://www.phpinterviewquestion.com/oops/what-is-oops#comments</comments>
		<pubDate>Tue, 12 Jan 2010 18:14:29 +0000</pubDate>
		<dc:creator>urooj</dc:creator>
				<category><![CDATA[Oops]]></category>
		<category><![CDATA[object oriented programing]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=564</guid>
		<description><![CDATA[what is oops?]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/oops/what-is-oops/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>what is __toString magic function in php?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/what-is-__tostring-magic-function-in-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/what-is-__tostring-magic-function-in-php#comments</comments>
		<pubDate>Sun, 10 Jan 2010 10:53:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[__toString magic function]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=557</guid>
		<description><![CDATA[			
				
			
		
The __toString method allows a class to decide how it will react when it is converted to a string.
&#60;?php
// Declare a simple class
class TestClass
{
public $foo;
public function __construct($foo) {
$this-&#62;foo = $foo;
}
public function __toString() {
return $this-&#62;foo;
}
}
$class = new TestClass(&#8216;Hello&#8217;);
echo $class;
?&#62;
The above example will output:
Hello
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/what-is-__tostring-magic-function-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magic  Functions in php?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/magic-functions-in-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/magic-functions-in-php#comments</comments>
		<pubDate>Sun, 10 Jan 2010 10:48:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=554</guid>
		<description><![CDATA[			
				
			
		
These are magic functions in PHP.
1__construct
2-__destruct (see Constructors and Destructors),
3-__call
4-__get
3-__set
4-__isset
5-__unset (see Overloading)
6-__sleep,
6-__wakeup
7-__toString
8-__set_state
9-__clone
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/magic-functions-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What’s  __sleep and __wakeup in PHP?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/what%e2%80%99s-__sleep-and-__wakeup-in-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/what%e2%80%99s-__sleep-and-__wakeup-in-php#comments</comments>
		<pubDate>Sun, 10 Jan 2010 10:43:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[__sleep and __wakeup in PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=552</guid>
		<description><![CDATA[			
				
			
		
These are the magic function in php.
__sleep
serialize() checks if your class has a function with the magic name __sleep. If so, that function is executed prior to any serialization. It can clean up the object and is supposed to return an array with the names of all variables of that object that should be serialized. [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/what%e2%80%99s-__sleep-and-__wakeup-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do you call a constructor for a parent class?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/how-do-you-call-a-constructor-for-a-parent-class</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/how-do-you-call-a-constructor-for-a-parent-class#comments</comments>
		<pubDate>Sun, 10 Jan 2010 10:20:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=550</guid>
		<description><![CDATA[			
				
			
		
parent::constructor($value) 
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/how-do-you-call-a-constructor-for-a-parent-class/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WHAT ARE THE DIFFERENT TYPES OF ERRORS IN PHP?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/what-are-the-different-types-of-errors-in-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/what-are-the-different-types-of-errors-in-php#comments</comments>
		<pubDate>Sun, 10 Jan 2010 10:18:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[ERRORS IN PHP]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=546</guid>
		<description><![CDATA[			
				
			
		
There are three type of  errors are present in PHP
1-Notices
2-Warnings
3-Fatal errors
Notices:
These are trivial, non-critical errors. that  does not terminate script .
Condition:
1- Accessing a variable that not define.
Warnings:
These are more serious errors
Condition:
1-attempting to include() a file which does not exist.
Fatal errors:
These are critical errors that terminate script and stop
Condition:
1-instantiating an object of a non-existent [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/what-are-the-different-types-of-errors-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Differences between DROP a table and TRUNCATE a table?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/differences-between-drop-a-table-and-truncate-a-table</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/differences-between-drop-a-table-and-truncate-a-table#comments</comments>
		<pubDate>Sun, 10 Jan 2010 09:54:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Differences between DROP and TRUNCATE]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=542</guid>
		<description><![CDATA[			
				
			
		
DROP: This will delete the table structure  and its data.
syntax-DROP TABLE table_name
TRUNCATE: This will delete the table  data but not its structure.
syntax-TRUNCATE TABLE table_name
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/differences-between-drop-a-table-and-truncate-a-table/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is difference between echo $a or echo {$a} ?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/what-is-difference-between-echo-a-or-echo-a</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/what-is-difference-between-echo-a-or-echo-a#comments</comments>
		<pubDate>Sun, 10 Jan 2010 09:49:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[difference between echo $a or echo {$a}]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=538</guid>
		<description><![CDATA[			
				
			
		
Best way to understand the problem is example.
&#60;?php
$a=’Hello’;
Echo “$aworld” // blank because it treat as variable
Echo “{$a}world” // Helloworld
?&#62;
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/what-is-difference-between-echo-a-or-echo-a/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is the default table in MYSQL? which type of table is generatedby default.</title>
		<link>http://www.phpinterviewquestion.com/mysql/what-is-the-default-table-in-mysql-which-type-of-table-is-generatedby-default</link>
		<comments>http://www.phpinterviewquestion.com/mysql/what-is-the-default-table-in-mysql-which-type-of-table-is-generatedby-default#comments</comments>
		<pubDate>Sun, 10 Jan 2010 09:43:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MyISAM]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=536</guid>
		<description><![CDATA[			
				
			
		
MyISAM is the default storage engine.
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/mysql/what-is-the-default-table-in-mysql-which-type-of-table-is-generatedby-default/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How many  number of tables are present in MYSQL Data base?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/how-many-number-of-tables-are-present-in-mysql-data-base</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/how-many-number-of-tables-are-present-in-mysql-data-base#comments</comments>
		<pubDate>Sun, 10 Jan 2010 09:38:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[How many  number of tables are present in MYSQL Data base?]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=532</guid>
		<description><![CDATA[			
				
			
		
Total 5 types of tables we can create
1. MyISAM
2. Heap
3. Merge
4. INNO DB
5. ISAM
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/how-many-number-of-tables-are-present-in-mysql-data-base/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can I execute a PHP script using command line?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/how-can-i-execute-a-php-script-using-command-line</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/how-can-i-execute-a-php-script-using-command-line#comments</comments>
		<pubDate>Sun, 10 Jan 2010 09:33:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[execute a PHP script using command line]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=529</guid>
		<description><![CDATA[			
				
			
		
Just run the PHP CLI (Command Line Interface) program and provide the PHP script file name as the command line argument. For example, &#8220;php myScript.php&#8221;, assuming &#8220;php&#8221; is the command to invoke the CLI program.
Be aware that if your PHP script was written for the Web CGI interface, it may not execute properly in command [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/how-can-i-execute-a-php-script-using-command-line/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is difference between  Persistent Cookie and Temporary cookies?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/what-is-difference-between-persistent-cookie-and-temporary-cookies</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/what-is-difference-between-persistent-cookie-and-temporary-cookies#comments</comments>
		<pubDate>Sun, 10 Jan 2010 09:31:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[cookies in php]]></category>
		<category><![CDATA[Persistent Cookie]]></category>
		<category><![CDATA[setcookie()]]></category>
		<category><![CDATA[Temporary cookies]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=527</guid>
		<description><![CDATA[			
				
			
		
Temporary cookies :
By Befault Temporary cookie is active which is store in browser memory, live until browser is closed.
Persistent Cookie: persistent cookie is a cookie which is stored in a cookie file permanently on the browser&#8217;s computer.
Which is live for a time period defines by programmer in the script.
Example:
&#60;?php
$value = ‘value’;
setcookie("testcookie", $value, time()+3600); /* expire in 1 hour */
// Where [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/what-is-difference-between-persistent-cookie-and-temporary-cookies/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Days between two given dates using PHP?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/days-between-two-given-dates-using-php</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/days-between-two-given-dates-using-php#comments</comments>
		<pubDate>Sun, 10 Jan 2010 09:28:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Days between two given dates using PHP.]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=525</guid>
		<description><![CDATA[			
				
			
		
$date1 = date(&#8217;Y-m-d&#8217;); // yyyy-mm-dd  format
$date2 = &#8216;2006-07-01&#8242;;
$days = (strtotime() &#8211; strtotime()) / (60 * 60 * 24);
echo &#8220;Number of days since &#8216;2006-07-01&#8242;: $days&#8221;;
Where strtotime
int strtotime ( string $time [, int $now] )
The function expects to be given a string containing a US English date format and will try to parse that format into a [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/days-between-two-given-dates-using-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can we repair a MySQL table?</title>
		<link>http://www.phpinterviewquestion.com/php-questions/how-can-we-repair-a-mysql-table</link>
		<comments>http://www.phpinterviewquestion.com/php-questions/how-can-we-repair-a-mysql-table#comments</comments>
		<pubDate>Sun, 10 Jan 2010 09:25:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[How can we repair a MySQL table]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=522</guid>
		<description><![CDATA[			
				
			
		
There are three syntax to repair MySQL table.
REPAIR TABLE table_name
REPAIR TABLE table_name QUICK
REPAIR TABLE table_name EXTENDED
If QUICK is given, MySQL will repair index tree.
If EXTENDED is given, it will create index row by row. 
]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/php-questions/how-can-we-repair-a-mysql-table/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
