<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DUQBRH84eip7ImA9WhRaE00.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305</id><updated>2012-02-15T04:02:35.132-08:00</updated><category term="sorting function in php" /><category term="php foreach" /><category term="difference bitween  inner join and outer join in mysql" /><category term="jquery defenitions" /><category term="text field value null onclike javascript function" /><category term="php unlink" /><category term="how can destroys variable in php" /><category term="use of  how  can delete image in php  unlink() in php" /><category term="explode and inplode in php" /><category term="date  year function in php" /><category term="how check value exit in array + php" /><category term="left join in mysql" /><category term="inner join  and outer join major difference" /><category term="php constant function" /><category term="array syntax php" /><category term="simple thumbnail create in php" /><category term="usage of ltrim in php" /><category term="full Text search in mysql" /><category term="php variable" /><category term="php comments" /><category term="how can install wordpress" /><category term="what is difference between mysql_connect and pconnect" /><category term="wordpress installations" /><category term="list of effects in jquery" /><category term="list of php types" /><category term="definition php array" /><category term="meaning of array in php" /><category term="php array_splice" /><category term="php array change key" /><category term="how can comments in  php code" /><category term="php unset" /><category term="array_search function in php" /><category term="simple meaning array  in  php" /><category term="php constants" /><category term="php how can get ip address" /><category term="clear text area on click with javascript" /><category term="foreach loop in php" /><category term="diplay array php" /><category term="NOW() in mysql" /><category term="onclick text field value null javascript" /><category term="wordpress feautures" /><category term="syntax of php array" /><category term="php fopen" /><category term="ip address in php" /><category term="php code comment" /><category term="php constant examples" /><category term="difference bitween expode and implode in php" /><category term="jquery text fields hide" /><category term="reset array in php examples" /><category term="php thumbnail creation" /><category term="definition of array in php" /><category term="what  difference between difference between mysql_fetch_object and mysql_fetch_array" /><category term="two dimenionl array in php" /><category term="in_array in php" /><category term="wordpress features" /><category term="php array_slice example" /><category term="download file in php script" /><category term="jquery hide code" /><category term="php array meaning" /><category term="simple class example in php" /><category term="setup utf8 character set in mysql" /><category term="use of getcwd" /><category term="php substr()" /><category term="meaning of getcwd" /><category term="php sorting functions" /><category term="variable initialize in php" /><category term="animate div in jquery" /><category term="difference between mysql_connect and pconnect" /><category term="major difference bitween echo and print in php" /><category term="php array_slice" /><category term="how can create thumbnail in php" /><category term="md5 in php" /><category term="how can php code comment" /><category term="mysql tables list" /><category term="strings in php" /><category term="steps of wordpress installations" /><category term="php unset array" /><category term="fade in code in jquery" /><category term="ltrim in php" /><category term="client side technologies" /><category term="jquery help tips" /><category term="php unset function" /><category term="array_slice syntax in php" /><category term="php array _search function" /><category term="Text fields click mouse hide jquery code" /><category term="left join example query" /><category term="list of wordpress features" /><category term="how can animate div in jquery" /><category term="difference between mysql_fetch_object and mysql_fetch_array" /><category term="jquery meaning" /><category term="list sorting function in php" /><category term="sending mail in php" /><category term="example full text search mysql" /><category term="php array foreach" /><category term="lower case first character in php" /><category term="major difference bitween inner and outer join in  php" /><category term="fade out code in jquery" /><category term="php in_array" /><category term="what is wordpress" /><category term="jquery animate function" /><category term="rtrim in php" /><category term="fade out function in php jquery" /><category term="select field add and remove with jquery php" /><category term="php substr" /><category term="php sessions and cookie difference" /><category term="php function to url validity" /><category term="array_unique function in php" /><category term="difference between cookie and session in php" /><category term="fadein function in jquery" /><category term="php md5 function syntax" /><category term="jquery text highlighting" /><category term="dropdown field add and remove with jquery" /><category term="url validity checker function php" /><category term="how can initialize the variable in php" /><category term="meaning of wordpress" /><category term="chdir meaning and  use" /><category term="javascript clear textarea on click" /><category term="sort an array in php" /><category term="difference between array_slice() and  array_splice() in php" /><category term="my sql list of tables" /><category term="php array syntax" /><category term="strpos() function in php" /><category term="how can get ouput array" /><category term="file uploading code in php" /><category term="lcfirst in php" /><category term="array change key" /><category term="jquery animation codes" /><category term="meaning and usage of rtrim" /><category term="how can delete file in php" /><category term="cookie and sessions" /><category term="difference between gpet and post in ph" /><category term="unset array" /><category term="date and year functions in php" /><category term="php ternary operator syntax" /><category term="how can text highlighting in jquery" /><category term="difference between session and cookies in php" /><category term="array  php" /><category term="jquery select box" /><category term="initialize the variable in php" /><category term="how  can delete image in php" /><title>PHP Simple QA</title><subtitle type="html">It contains Simple Questions and Answers in PHP</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://phpsimpleqa.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://phpsimpleqa.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>274</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/PhpSimpleQa" /><feedburner:info uri="phpsimpleqa" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DUQBRH8-cSp7ImA9WhRaE00.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-952044819653196088</id><published>2012-02-15T04:02:00.001-08:00</published><updated>2012-02-15T04:02:35.159-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-15T04:02:35.159-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="simple class example in php" /><title>simple class example in php</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
&lt;b&gt;simple class example in php&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
class Customer {&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;public $name;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;public function setName($name) {&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;$this-&amp;gt;name = $name;&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;public function getName() {&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;return $this-&amp;gt;name;&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
$c = new Customer();&lt;br /&gt;
$c-&amp;gt;setName("Sunil Bhatia");&lt;br /&gt;
echo $c-&amp;gt;name;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;// this will work as it is public.&lt;br /&gt;
$c-&amp;gt;name = "New Name" ; //&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-952044819653196088?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Z8JtnpOnq2IosG8aaIisWO78mcw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Z8JtnpOnq2IosG8aaIisWO78mcw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Z8JtnpOnq2IosG8aaIisWO78mcw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Z8JtnpOnq2IosG8aaIisWO78mcw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/kPDgiKzWfG8" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/952044819653196088?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/952044819653196088?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/kPDgiKzWfG8/simple-class-example-in-php.html" title="simple class example in php" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2012/02/simple-class-example-in-php.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEAFQ3w-cSp7ImA9WhdXGEw.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-2817367230365891047</id><published>2011-08-31T11:51:00.000-07:00</published><updated>2011-08-31T11:51:52.259-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-31T11:51:52.259-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="array_unique function in php" /><title>How can remove duplicate values from an array php</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;You can use&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: verdana, helvetica, arial; font-size: 12px;"&gt;array_unique function in php&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: verdana, helvetica, arial; font-size: 12px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: verdana, helvetica, arial; font-size: 12px;"&gt;&lt;code&gt;&lt;span style="color: black;"&gt;&lt;span style="color: #0000bb;"&gt;&amp;lt;?php&lt;br /&gt;
$value&amp;nbsp;&lt;/span&gt;&lt;span style="color: #007700;"&gt;=&amp;nbsp;array(&lt;/span&gt;&lt;span style="color: #dd0000;"&gt;"test"&lt;/span&gt;&lt;span style="color: #007700;"&gt;,&lt;/span&gt;&lt;span style="color: #dd0000;"&gt;"test1"&lt;/span&gt;&lt;span style="color: #007700;"&gt;,&lt;/span&gt;&lt;span style="color: #dd0000;"&gt;"test2"&lt;/span&gt;&lt;span style="color: #007700;"&gt;,&lt;/span&gt;&lt;span style="color: #dd0000;"&gt;"test"&lt;/span&gt;&lt;span style="color: #007700;"&gt;);&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000bb;"&gt;$value&amp;nbsp;&lt;/span&gt;&lt;span style="color: #007700;"&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000bb;"&gt;array_unique&lt;/span&gt;&lt;span style="color: #007700;"&gt;(&lt;/span&gt;&lt;span style="color: #0000bb;"&gt;$value&lt;/span&gt;&lt;span style="color: #007700;"&gt;);&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000bb;"&gt;print_r&lt;/span&gt;&lt;span style="color: #007700;"&gt;(&lt;/span&gt;&lt;span style="color: #0000bb;"&gt;$value&lt;/span&gt;&lt;span style="color: #007700;"&gt;);&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000bb;"&gt;?&amp;gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Outputs:&lt;br /&gt;
&lt;br /&gt;
Array&lt;br /&gt;
(&lt;br /&gt;
[0] =&amp;gt;&amp;nbsp;&lt;span class="Apple-style-span" style="color: #dd0000; font-family: monospace;"&gt;test&lt;/span&gt;&lt;br /&gt;
[1] =&amp;gt;&amp;nbsp;&lt;span class="Apple-style-span" style="color: #dd0000; font-family: monospace;"&gt;test1&lt;/span&gt;&lt;br /&gt;
[2] =&amp;gt;&amp;nbsp;&lt;span class="Apple-style-span" style="color: #dd0000; font-family: monospace;"&gt;test2&lt;/span&gt;&lt;br /&gt;
)&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-2817367230365891047?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/O21tjIyg71c6LVr9atSS_Fw76vo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/O21tjIyg71c6LVr9atSS_Fw76vo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/O21tjIyg71c6LVr9atSS_Fw76vo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/O21tjIyg71c6LVr9atSS_Fw76vo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/9Ro0bdsVRaI" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/2817367230365891047?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/2817367230365891047?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/9Ro0bdsVRaI/how-can-remove-duplicate-values-from.html" title="How can remove duplicate values from an array php" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/how-can-remove-duplicate-values-from.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8AQnc9fCp7ImA9WhdXF08.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-4372319792261377979</id><published>2011-08-30T11:27:00.000-07:00</published><updated>2011-08-30T11:27:23.964-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-30T11:27:23.964-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="NOW() in mysql" /><title>how can get current time in mysql</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;how can get current time in mysql&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: verdana, helvetica, arial; font-size: 12px; font-weight: normal;"&gt;NOW()&amp;nbsp;using in query u can get current time...&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: monospace; font-size: 12px; font-weight: normal;"&gt;&lt;span style="color: #0000bb;"&gt;&amp;lt;?php&lt;br /&gt;
$update&amp;nbsp;&lt;/span&gt;&lt;span style="color: #007700;"&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000bb;"&gt;mysql_query&lt;/span&gt;&lt;span style="color: #007700;"&gt;(&lt;/span&gt;&lt;span style="color: #dd0000;"&gt;"UPDATE test SET&amp;nbsp;lastlogin&amp;nbsp;=&amp;nbsp;NOW()&amp;nbsp;WHERE&amp;nbsp;username&amp;nbsp;=&amp;nbsp;'test'"&lt;/span&gt;&lt;span style="color: #007700;"&gt;);&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000bb;"&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-4372319792261377979?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/fvEY53x41T4OATlcYXmRNwnj7xA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fvEY53x41T4OATlcYXmRNwnj7xA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/fvEY53x41T4OATlcYXmRNwnj7xA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fvEY53x41T4OATlcYXmRNwnj7xA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/ai5AAu7YGgo" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/4372319792261377979?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/4372319792261377979?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/ai5AAu7YGgo/how-can-get-current-time-in-mysql.html" title="how can get current time in mysql" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/how-can-get-current-time-in-mysql.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMHQnY6cCp7ImA9WhdXF08.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-3532160869241579607</id><published>2011-08-30T11:20:00.000-07:00</published><updated>2011-08-30T11:20:33.818-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-30T11:20:33.818-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="in_array in php" /><category scheme="http://www.blogger.com/atom/ns#" term="php in_array" /><title>How can check value exit in an array</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;How can check value exit in an array&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: verdana, helvetica, arial; font-size: 12px; font-weight: normal;"&gt;&amp;nbsp;in_array function can use to check value exit in an array&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: verdana, helvetica, arial; font-size: 12px; font-weight: normal;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: verdana, helvetica, arial; font-size: 12px;"&gt;example&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: monospace; font-size: 12px;"&gt;&lt;span style="color: #0000bb;"&gt;&amp;lt;?php&lt;br /&gt;
$value1&amp;nbsp;&lt;/span&gt;&lt;span style="color: #007700;"&gt;=&amp;nbsp;array(&lt;/span&gt;&lt;span style="color: #dd0000;"&gt;"test"&lt;/span&gt;&lt;span style="color: #007700;"&gt;,&lt;/span&gt;&lt;span style="color: #dd0000;"&gt;"test1"&lt;/span&gt;&lt;span style="color: #007700;"&gt;,&lt;/span&gt;&lt;span style="color: #dd0000;"&gt;"test2"&lt;/span&gt;&lt;span style="color: #007700;"&gt;,&lt;/span&gt;&lt;span style="color: #dd0000;"&gt;"test4"&lt;/span&gt;&lt;span style="color: #007700;"&gt;);&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000bb;"&gt;$new_value1&lt;/span&gt;&lt;span style="color: #007700;"&gt;=&lt;/span&gt;&lt;span style="color: #dd0000;"&gt;"test1"&lt;/span&gt;&lt;span style="color: #007700;"&gt;;&lt;br /&gt;
if&amp;nbsp;(&lt;/span&gt;&lt;span style="color: #0000bb;"&gt;in_array&lt;/span&gt;&lt;span style="color: #007700;"&gt;(&lt;/span&gt;&lt;span style="color: #0000bb;"&gt;$new_value1&lt;/span&gt;&lt;span style="color: #007700;"&gt;,&lt;/span&gt;&lt;span style="color: #0000bb;"&gt;$value1&lt;/span&gt;&lt;span style="color: #007700;"&gt;))&amp;nbsp;{&amp;nbsp;echo&amp;nbsp;&lt;/span&gt;&lt;span style="color: #dd0000;"&gt;"$newvalue&amp;nbsp;is&amp;nbsp;already&amp;nbsp;in&amp;nbsp;the&amp;nbsp;array!"&lt;/span&gt;&lt;span style="color: #007700;"&gt;;&amp;nbsp;}&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000bb;"&gt;?&amp;gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-3532160869241579607?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Lmh2iyGSZdnC9sVVZPq3fUBArwc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Lmh2iyGSZdnC9sVVZPq3fUBArwc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Lmh2iyGSZdnC9sVVZPq3fUBArwc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Lmh2iyGSZdnC9sVVZPq3fUBArwc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/om4Ql9ofc-s" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/3532160869241579607?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/3532160869241579607?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/om4Ql9ofc-s/how-can-check-value-exit-in-array.html" title="How can check value exit in an array" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/how-can-check-value-exit-in-array.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQNRXw4fCp7ImA9WhdXFkk.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-7395969312268251234</id><published>2011-08-29T11:43:00.000-07:00</published><updated>2011-08-29T11:43:14.234-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-29T11:43:14.234-07:00</app:edited><title>php shorthand operater</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;php shorthand operater (.=)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;concatenation &amp;nbsp;example&lt;/b&gt;&lt;br /&gt;
$test.=$tes1;&lt;br /&gt;
same like above&lt;br /&gt;
$test=$test.$tes1;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-7395969312268251234?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/x5N_jRUIhclGm0rczmmIdF0Jhcg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/x5N_jRUIhclGm0rczmmIdF0Jhcg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/x5N_jRUIhclGm0rczmmIdF0Jhcg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/x5N_jRUIhclGm0rczmmIdF0Jhcg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/Y1wpQKCJsEI" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/7395969312268251234?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/7395969312268251234?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/Y1wpQKCJsEI/php-shorthand-operater.html" title="php shorthand operater" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/php-shorthand-operater.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEIDSXs5cCp7ImA9WhdXFkk.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-509863718558147621</id><published>2011-08-29T11:29:00.000-07:00</published><updated>2011-08-29T11:29:38.528-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-29T11:29:38.528-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="setup utf8 character set in mysql" /><title>how can make mysql support all language</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;how can make mysql support all language&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ALTER DATABASE MyDb CHARACTER SET utf8;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-509863718558147621?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Fmy-Ig_lXz_SydlWtcqXhyHh9ek/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Fmy-Ig_lXz_SydlWtcqXhyHh9ek/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Fmy-Ig_lXz_SydlWtcqXhyHh9ek/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Fmy-Ig_lXz_SydlWtcqXhyHh9ek/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/nqmoKyDE5bA" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/509863718558147621?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/509863718558147621?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/nqmoKyDE5bA/how-can-make-mysql-support-all-language.html" title="how can make mysql support all language" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/how-can-make-mysql-support-all-language.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D08BRnk9eip7ImA9WhdXFUg.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-4155397079082389703</id><published>2011-08-28T11:24:00.000-07:00</published><updated>2011-08-28T11:24:17.762-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-28T11:24:17.762-07:00</app:edited><title>interpolation with curly braces in php</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
&lt;b&gt;interpolation with curly braces in php&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
$test="test2";&lt;br /&gt;
Ex:$plan="test1 {$test} test3";&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-4155397079082389703?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/WhfyB0Dh7N_wxBsq63nJ1UfKc4Q/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WhfyB0Dh7N_wxBsq63nJ1UfKc4Q/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/WhfyB0Dh7N_wxBsq63nJ1UfKc4Q/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WhfyB0Dh7N_wxBsq63nJ1UfKc4Q/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/H60QPNVzUG8" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/4155397079082389703?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/4155397079082389703?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/H60QPNVzUG8/interpolation-with-curly-braces-in-php.html" title="interpolation with curly braces in php" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/interpolation-with-curly-braces-in-php.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0ICRnkzeip7ImA9WhdXFUg.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-4457979974912848788</id><published>2011-08-28T11:19:00.000-07:00</published><updated>2011-08-28T11:19:27.782-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-28T11:19:27.782-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="strings in php" /><title>strings in php</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;strings in php&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
String are Sequence of characters that can be treated as a unit assigned to variables,simple specify &amp;nbsp;php code is to enclose it in quotes&lt;br /&gt;
&lt;br /&gt;
string in php whether single or double&lt;br /&gt;
&lt;br /&gt;
ex:$my='php single string';&lt;br /&gt;
$my1="double quotes"&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-4457979974912848788?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OpurRvYn2_CItmlabaZZIKFHqB8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OpurRvYn2_CItmlabaZZIKFHqB8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OpurRvYn2_CItmlabaZZIKFHqB8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OpurRvYn2_CItmlabaZZIKFHqB8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/I4KFcuUnvpI" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/4457979974912848788?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/4457979974912848788?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/I4KFcuUnvpI/strings-in-php.html" title="strings in php" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/strings-in-php.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A04EQXg7eyp7ImA9WhdXFEg.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-293764019333377517</id><published>2011-08-27T08:45:00.000-07:00</published><updated>2011-08-27T08:45:00.603-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-27T08:45:00.603-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="full Text search in mysql" /><category scheme="http://www.blogger.com/atom/ns#" term="example full text search mysql" /><title>full Text search in mysql</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;full Text search in mysql&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
MySQL supported FULLTEXT indexes 3.23.23.VARCHAR and TEXT Columns that have been indexed with FULLTEXT can be used with special SQL statements that perform the full text search in MySQL.&lt;br /&gt;
&lt;br /&gt;
ALTER TABLE test_tab ADD FULLTEXT(title, body);&lt;br /&gt;
Once you have done &amp;nbsp;FULLTEXT index, you can search it using MATCH and AGAINST statements. For example:&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM test_tab&lt;br /&gt;
WHERE MATCH ((title, body) AGAINST ('body content');&lt;br /&gt;
The result of this query is automatically sorted by relevancy.&lt;br /&gt;
&lt;br /&gt;
some case not support fulltext index because Full-text indexes can be used only with MyISAM&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-293764019333377517?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mN4TyFDUBHGA2HDmJOPvu_1BeFk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mN4TyFDUBHGA2HDmJOPvu_1BeFk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mN4TyFDUBHGA2HDmJOPvu_1BeFk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mN4TyFDUBHGA2HDmJOPvu_1BeFk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/wb2gGAPUs7c" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/293764019333377517?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/293764019333377517?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/wb2gGAPUs7c/full-text-search-in-mysql.html" title="full Text search in mysql" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/full-text-search-in-mysql.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkUDQno9eCp7ImA9WhdQGUk.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-7072816888945926289</id><published>2011-08-21T10:37:00.000-07:00</published><updated>2011-08-21T10:37:53.460-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-21T10:37:53.460-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="php ternary operator syntax" /><title>php ternary operator</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;php ternary operator&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
evaluate experssion 1 if experssion one is true evaluate experession 2 otherwise return expression 3&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;syntax ternary operater&lt;/b&gt;&lt;br /&gt;
experssion-1?&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;experssion-2 :&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;experssion-3&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-7072816888945926289?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/88iWW3Jnn0ag-9V8aQ3YQoCWctM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/88iWW3Jnn0ag-9V8aQ3YQoCWctM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/88iWW3Jnn0ag-9V8aQ3YQoCWctM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/88iWW3Jnn0ag-9V8aQ3YQoCWctM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/cOL7kZ0hjNA" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/7072816888945926289?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/7072816888945926289?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/cOL7kZ0hjNA/php-ternary-operator.html" title="php ternary operator" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/php-ternary-operator.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8GQ309eSp7ImA9WhdQGUk.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-3446857972587944697</id><published>2011-08-21T09:40:00.000-07:00</published><updated>2011-08-21T10:30:22.361-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-21T10:30:22.361-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="file uploading code in php" /><title>file uploading code in php</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;file uploading code in php&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; font-size: 14px; letter-spacing: -1px; line-height: 24px;"&gt;How to HTML form will work&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; font-size: 14px; letter-spacing: -1px; line-height: 24px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; font-size: 14px; letter-spacing: -1px; line-height: 24px;"&gt;&lt;span class="Apple-style-span" style="font-size: small; letter-spacing: normal; line-height: normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class="php" name="code"&gt;&amp;lt;form action="upload.php" method="post" enctype="multipart/form-data"&amp;gt;
&amp;lt;input type="file" name="fileupload" id="file" /&amp;gt;
&amp;lt;input type="submit" name="submit" value="Upload file" /&amp;gt;
&amp;lt;/form&amp;gt;&lt;/pre&gt;&lt;pre class="php" name="code"&gt;&lt;/pre&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; font-size: 14px; letter-spacing: -1px; line-height: 24px;"&gt;&amp;nbsp;PHP &amp;nbsp;file code&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class="php" name="code"&gt;&amp;lt;?php
if ($_FILES["fileupload"]["error"] &amp;gt; 0)
{
echo "Error code when upload: " . $_FILES["fileupload"]["error"] . "&amp;lt;br /&amp;gt;";
}
else
{
echo "Upload file name : " . $_FILES["fileupload"]["name"] . "&amp;lt;br /&amp;gt;";
echo "Type of the file: " . $_FILES["fileupload"]["type"] . "&amp;lt;br /&amp;gt;";
echo "Size of the file in KB: " . ($_FILES["fileupload"]["size"] / 1024) . "&amp;lt;br /&amp;gt;";
echo "Stored in temporary folder : " . $_FILES["fileupload"]["tmp_name"];
move_uploaded_file($_FILES["fileupload"]["tmp_name"],"uploads/".$_FILES["file"]["name"]);
}
?&amp;gt;&lt;/pre&gt;&lt;br /&gt;
&lt;pre class="php" name="code"&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-3446857972587944697?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2gZxLhslp3IrlGfuY0ZzNkkIL80/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2gZxLhslp3IrlGfuY0ZzNkkIL80/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2gZxLhslp3IrlGfuY0ZzNkkIL80/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2gZxLhslp3IrlGfuY0ZzNkkIL80/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/XQXKU6O_T_A" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/3446857972587944697?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/3446857972587944697?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/XQXKU6O_T_A/file-uploading-code-in-php.html" title="file uploading code in php" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/file-uploading-code-in-php.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUIAQ388fip7ImA9WhdQGUk.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-2026144895745933769</id><published>2011-08-21T09:19:00.000-07:00</published><updated>2011-08-21T09:19:02.176-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-21T09:19:02.176-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sending mail in php" /><title>how can sending email in php</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;how can sending email in php&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; font-size: 14px; letter-spacing: -1px; line-height: 24px;"&gt;mail() function using for email sending in php&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; font-weight: normal;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;pre class="php" name="code"&gt;&lt;b&gt;&amp;lt;?php
$from="test@gmail.com";
$to="to@gmail.com";
$subject="Test Mail";
$message="Hi ,&amp;lt;br /&amp;gt;".
"test mail &amp;lt;br /&amp;gt;".
"Thank You";
$headers = "From: $from\r\nContent-type: text/html";
if(mail($to,$subject, $message, $headers))
{
echo "MAIL SENT SUCCESSFULLY";
}
else
{
echo "SOME ISSUE WITH MAIL SENDING in SERVER";
}
?&amp;gt;&lt;/b&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-2026144895745933769?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ovPIMEuxreX_bBKyMA7hWUvELls/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ovPIMEuxreX_bBKyMA7hWUvELls/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ovPIMEuxreX_bBKyMA7hWUvELls/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ovPIMEuxreX_bBKyMA7hWUvELls/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/bkhIT5e_mhc" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/2026144895745933769?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/2026144895745933769?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/bkhIT5e_mhc/how-can-sending-email-in-php.html" title="how can sending email in php" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/how-can-sending-email-in-php.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUARHo7eip7ImA9WhdQGUk.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-6202384702678650131</id><published>2011-08-21T09:14:00.000-07:00</published><updated>2011-08-21T09:14:05.402-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-21T09:14:05.402-07:00</app:edited><title>how can Adding line break using PHP</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;how can Adding line break using PHP&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; font-size: 14px; letter-spacing: -1px; line-height: 24px;"&gt;&amp;nbsp;&lt;strong&gt;nl2br()&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif; font-size: 14px; letter-spacing: -1px; line-height: 24px;"&gt;&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class="php" name="code"&gt;&amp;lt;?php
echo nl2br("test\n php line break");
?&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-6202384702678650131?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jh4CfvwmXYVUkubKQQmCn0_cn3I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jh4CfvwmXYVUkubKQQmCn0_cn3I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jh4CfvwmXYVUkubKQQmCn0_cn3I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jh4CfvwmXYVUkubKQQmCn0_cn3I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/ICbtsUotn0Y" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/6202384702678650131?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/6202384702678650131?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/ICbtsUotn0Y/how-can-adding-line-break-using-php.html" title="how can Adding line break using PHP" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/how-can-adding-line-break-using-php.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkUHRXw5eip7ImA9WhdQGU0.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-4975211970182550633</id><published>2011-08-20T22:23:00.001-07:00</published><updated>2011-08-20T22:23:54.222-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-20T22:23:54.222-07:00</app:edited><title>how many ways  retrieve the data in the result set of MySQL using PHP</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana; font-size: 11px;"&gt;1. mysql_fetch_row&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana; font-size: 11px;"&gt;2. mysql_fetch_array&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana; font-size: 11px;"&gt;3. mysql_fetch_object&lt;br /&gt;
4. mysql_fetch_assoc&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-4975211970182550633?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9jTJtMI17sqRLoydkh9A3zrKjtY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9jTJtMI17sqRLoydkh9A3zrKjtY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9jTJtMI17sqRLoydkh9A3zrKjtY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9jTJtMI17sqRLoydkh9A3zrKjtY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/RaFEckxQwe0" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/4975211970182550633?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/4975211970182550633?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/RaFEckxQwe0/how-many-ways-retrieve-data-in-result.html" title="how many ways  retrieve the data in the result set of MySQL using PHP" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/how-many-ways-retrieve-data-in-result.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUCR3Y6fSp7ImA9WhdQFkQ.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-2860767810255372540</id><published>2011-08-18T11:47:00.000-07:00</published><updated>2011-08-18T11:47:46.815-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-18T11:47:46.815-07:00</app:edited><title>terminate script in php</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;php terminating script&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
exit() ;&lt;br /&gt;
die();&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-2860767810255372540?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RfFp3P6bsYYdzQZyMIh8kiU2XRE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RfFp3P6bsYYdzQZyMIh8kiU2XRE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RfFp3P6bsYYdzQZyMIh8kiU2XRE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RfFp3P6bsYYdzQZyMIh8kiU2XRE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/DpspWZZKpwM" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/2860767810255372540?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/2860767810255372540?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/DpspWZZKpwM/terminate-script-in-php.html" title="terminate script in php" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/terminate-script-in-php.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE4CRH8zeyp7ImA9WhdQFkQ.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-8177803109869550442</id><published>2011-08-18T11:42:00.000-07:00</published><updated>2011-08-18T11:42:45.183-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-18T11:42:45.183-07:00</app:edited><title>break and continue in php</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;break&lt;/b&gt; command exits the innermost loop construct the contains it&lt;br /&gt;
&lt;b&gt;continue&lt;/b&gt; command skip to the end of current iteration&lt;br /&gt;
&lt;br /&gt;
break command example in php&lt;br /&gt;
&lt;br /&gt;
for($i=0;$i&amp;lt;10;$i++)&lt;br /&gt;
{&lt;br /&gt;
if($i%2!=0)&lt;br /&gt;
break;&lt;br /&gt;
print("$i");&lt;br /&gt;
}&lt;br /&gt;
&lt;b&gt;continue&lt;/b&gt;&amp;nbsp;command example&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
for($i=0;$i&amp;lt;10;$i++)&lt;br /&gt;
{&lt;br /&gt;
if($i%2!=0)&lt;br /&gt;
continue;&lt;br /&gt;
print("$i");&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-8177803109869550442?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/t2RKtMyMvdiBDx8z8VT20PWHPGE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/t2RKtMyMvdiBDx8z8VT20PWHPGE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/t2RKtMyMvdiBDx8z8VT20PWHPGE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/t2RKtMyMvdiBDx8z8VT20PWHPGE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/C2m2HWU4fx4" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/8177803109869550442?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/8177803109869550442?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/C2m2HWU4fx4/break-and-continue-in-php.html" title="break and continue in php" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/break-and-continue-in-php.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUMQ30zeyp7ImA9WhdQFkQ.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-8661628627391027981</id><published>2011-08-18T11:31:00.000-07:00</published><updated>2011-08-18T11:31:22.383-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-18T11:31:22.383-07:00</app:edited><title>switch syntax in php</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;switch syntax in php&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
swicth(expression)&lt;br /&gt;
{&lt;br /&gt;
case value1:&lt;br /&gt;
stms1&lt;br /&gt;
stms2&lt;br /&gt;
break;&lt;br /&gt;
case 2:&lt;br /&gt;
stms1;&lt;br /&gt;
break&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
.&lt;br /&gt;
default&lt;br /&gt;
default stms&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-8661628627391027981?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ikCQJMFMNNdhDHcqoFY1_gvfamE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ikCQJMFMNNdhDHcqoFY1_gvfamE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ikCQJMFMNNdhDHcqoFY1_gvfamE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ikCQJMFMNNdhDHcqoFY1_gvfamE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/LrNBg1sYlD4" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/8661628627391027981?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/8661628627391027981?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/LrNBg1sYlD4/switch-syntax-in-php.html" title="switch syntax in php" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/switch-syntax-in-php.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE8CQno6cSp7ImA9WhdRGUw.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-7987551749904957558</id><published>2011-08-09T12:07:00.000-07:00</published><updated>2011-08-09T12:07:43.419-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-09T12:07:43.419-07:00</app:edited><title>Find Largest number among 3 numbers using switch case in php</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: Baskerville, Georgia, Palatino, 'Palatino Linotype', 'Book Antiqua', 'URW Palladio L', serif; font-size: 12px; line-height: 15px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class="php geshifilter-php" style="font-family: monospace; line-height: 1.3; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="color: black; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;?php&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; 
	    &lt;/span&gt;&lt;span style="color: #000088; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;$a&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; &lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; 11&lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; 
	    &lt;/span&gt;&lt;span style="color: #000088; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;$b&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; &lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; &lt;/span&gt;&lt;span class="Apple-style-span" style="color: #cc66cc;"&gt;2&lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; 
	    &lt;/span&gt;&lt;span style="color: #000088; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;$c&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; &lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;=&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; &lt;/span&gt;&lt;span style="color: #cc66cc; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;20&lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; 
	    &lt;/span&gt;&lt;span style="color: #666666; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;// Swich allows expression &lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt;
	    &lt;/span&gt;&lt;span style="color: #b1b100; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;switch&lt;/span&gt;&lt;span style="color: #009900; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: #000088; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;$a&lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000088; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;$b&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; AND &lt;/span&gt;&lt;span style="color: #000088; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;$b&lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000088; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;$c&lt;/span&gt;&lt;span style="color: #009900; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: #009900; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;{&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; 
	        &lt;/span&gt;&lt;span style="color: #b1b100; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;case&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; &lt;/span&gt;&lt;span style="color: #009900; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;TRUE&lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;:&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; &lt;/span&gt;&lt;span style="color: #b1b100; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;echo&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; &lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;"&lt;span style="color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;$a&lt;/span&gt; is bigger"&lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; 
	                   &lt;/span&gt;&lt;span style="color: #b1b100; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;break&lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; 
	        &lt;/span&gt;&lt;span style="color: #b1b100; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;case&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; &lt;/span&gt;&lt;span style="color: #009900; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;FALSE&lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;:&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; &lt;/span&gt;&lt;span style="color: #b1b100; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;switch&lt;/span&gt;&lt;span style="color: #009900; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;(&lt;/span&gt;&lt;span style="color: #000088; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;$b&lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000088; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;$c&lt;/span&gt;&lt;span style="color: #009900; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;)&lt;/span&gt;&lt;span style="color: #009900; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;{&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; 
	            &lt;/span&gt;&lt;span style="color: #b1b100; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;case&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; &lt;/span&gt;&lt;span style="color: #009900; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;TRUE&lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;:&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; &lt;/span&gt;&lt;span style="color: #b1b100; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;echo&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; &lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;"&lt;span style="color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;$b&lt;/span&gt; is bigger"&lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; 
	                       &lt;/span&gt;&lt;span style="color: #b1b100; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;break&lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; 
	            &lt;/span&gt;&lt;span style="color: #b1b100; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;case&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; &lt;/span&gt;&lt;span style="color: #009900; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;FALSE&lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;:&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; &lt;/span&gt;&lt;span style="color: #b1b100; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;echo&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; &lt;/span&gt;&lt;span style="color: blue; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;"&lt;span style="color: #006699; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;$b&lt;/span&gt; is bigger"&lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; 
	                        &lt;/span&gt;&lt;span style="color: #b1b100; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;break&lt;/span&gt;&lt;span style="color: #339933; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; 
	        &lt;/span&gt;&lt;span style="color: #009900; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;}&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt;     
	    &lt;/span&gt;&lt;span style="color: #009900; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;}&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #222222;"&gt; 
	&lt;/span&gt;&lt;span style="color: black; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-7987551749904957558?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/WK_Bv0_Q-aP_vHlkRTTzDfm0aLQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WK_Bv0_Q-aP_vHlkRTTzDfm0aLQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/WK_Bv0_Q-aP_vHlkRTTzDfm0aLQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WK_Bv0_Q-aP_vHlkRTTzDfm0aLQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/OFFYBW9Mhrs" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/7987551749904957558?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/7987551749904957558?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/OFFYBW9Mhrs/find-largest-number-among-3-numbers.html" title="Find Largest number among 3 numbers using switch case in php" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/find-largest-number-among-3-numbers.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMHRHo4fyp7ImA9WhdRGUw.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-6437229649656442874</id><published>2011-08-09T12:00:00.000-07:00</published><updated>2011-08-09T12:00:35.437-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-09T12:00:35.437-07:00</app:edited><title>php supported logical operators</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;php supported logical operators&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
and&lt;br /&gt;
or&lt;br /&gt;
||&lt;br /&gt;
&amp;amp;&amp;amp;&lt;br /&gt;
!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-6437229649656442874?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/MX37Mvzcivd8QUYIb4iEFCPJYGs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MX37Mvzcivd8QUYIb4iEFCPJYGs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/MX37Mvzcivd8QUYIb4iEFCPJYGs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MX37Mvzcivd8QUYIb4iEFCPJYGs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/F0TmC8vA1jI" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/6437229649656442874?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/6437229649656442874?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/F0TmC8vA1jI/php-supported-logical-operators.html" title="php supported logical operators" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/php-supported-logical-operators.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEUAQHs-fCp7ImA9WhdRGUw.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-2692503108028561538</id><published>2011-08-09T11:57:00.000-07:00</published><updated>2011-08-09T11:57:21.554-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-09T11:57:21.554-07:00</app:edited><title>what are printing functions in php</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;&amp;nbsp;printing functions in php&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
print_r() and var_dump&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-2692503108028561538?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/dNb9BvVrvYki8yPCT1ZSH9RkZGc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dNb9BvVrvYki8yPCT1ZSH9RkZGc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/dNb9BvVrvYki8yPCT1ZSH9RkZGc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dNb9BvVrvYki8yPCT1ZSH9RkZGc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/EnoocH7e1Xw" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/2692503108028561538?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/2692503108028561538?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/EnoocH7e1Xw/what-are-printing-functions-in-php.html" title="what are printing functions in php" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/what-are-printing-functions-in-php.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEYFRn0zfSp7ImA9WhdRGUw.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-6596078262404553360</id><published>2011-08-09T11:55:00.000-07:00</published><updated>2011-08-09T11:55:17.385-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-09T11:55:17.385-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="major difference bitween echo and print in php" /><title>what are difference between echo and print in php</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;difference between echo and print in php&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
The two most construct for printing out put &amp;nbsp;echo and print,the value returned by print will be 1 if printing was&amp;nbsp;successful otherwise returned 0 if unsuccess,echo is a statement and print is function&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-6596078262404553360?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0PrR1_m5le4IeDvEkW2BQiPph0k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0PrR1_m5le4IeDvEkW2BQiPph0k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0PrR1_m5le4IeDvEkW2BQiPph0k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0PrR1_m5le4IeDvEkW2BQiPph0k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/5foWRJg9yf4" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/6596078262404553360?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/6596078262404553360?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/5foWRJg9yf4/what-are-difference-between-echo-and.html" title="what are difference between echo and print in php" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/what-are-difference-between-echo-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MMQ30zcSp7ImA9WhdRGUw.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-1276271614811461178</id><published>2011-08-09T11:44:00.000-07:00</published><updated>2011-08-09T11:44:42.389-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-09T11:44:42.389-07:00</app:edited><title>php escape sequence</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;php escape sequence&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
php offers escape sequence characters (/n), u can add new line middle of string&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-1276271614811461178?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/WtbxPH2VmuUOH3bZqQ3n7jk9WZ0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WtbxPH2VmuUOH3bZqQ3n7jk9WZ0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/WtbxPH2VmuUOH3bZqQ3n7jk9WZ0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WtbxPH2VmuUOH3bZqQ3n7jk9WZ0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/VKywB5AOowM" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/1276271614811461178?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/1276271614811461178?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/VKywB5AOowM/php-escape-sequence.html" title="php escape sequence" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/php-escape-sequence.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEEEQnY6fSp7ImA9WhdRE0Q.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-8681690580921029021</id><published>2011-08-03T11:36:00.000-07:00</published><updated>2011-08-03T11:36:43.815-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-03T11:36:43.815-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="list of php types" /><title>list of php types</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;php types&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Booleans(ture and false)&lt;br /&gt;
Integers(numbers with out decimal)&lt;br /&gt;
Floating point numbers&lt;br /&gt;
Strings&lt;br /&gt;
Arrays&lt;br /&gt;
Objects&lt;br /&gt;
Resources&lt;br /&gt;
NULL&lt;br /&gt;
Pseudo-types and variables used in this documentation&lt;br /&gt;
Type Juggling&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-8681690580921029021?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Z4LCGj5dadwU0dj9Jp1rvQaNvZI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Z4LCGj5dadwU0dj9Jp1rvQaNvZI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Z4LCGj5dadwU0dj9Jp1rvQaNvZI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Z4LCGj5dadwU0dj9Jp1rvQaNvZI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/YLLb-lkbvd4" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/8681690580921029021?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/8681690580921029021?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/YLLb-lkbvd4/list-of-php-types.html" title="list of php types" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/list-of-php-types.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D04BSHw-fip7ImA9WhdRE0Q.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-4322198061180014059</id><published>2011-08-03T11:25:00.000-07:00</published><updated>2011-08-03T11:25:59.256-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-03T11:25:59.256-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="php constants" /><title>what do u mean by php constants</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;php constants&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
which have single value throughout their life time....&lt;br /&gt;
&lt;br /&gt;
define(code,111);&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-4322198061180014059?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/gQGh1pJddh5oqQova7df4aXBT_4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gQGh1pJddh5oqQova7df4aXBT_4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/gQGh1pJddh5oqQova7df4aXBT_4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gQGh1pJddh5oqQova7df4aXBT_4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/JNK65DSgX54" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/4322198061180014059?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/4322198061180014059?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/JNK65DSgX54/what-do-u-mean-by-php-constants.html" title="what do u mean by php constants" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/what-do-u-mean-by-php-constants.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cMQHs4eSp7ImA9WhdRE0Q.&quot;"><id>tag:blogger.com,1999:blog-9045278382537007305.post-7895280066757358523</id><published>2011-08-03T11:11:00.000-07:00</published><updated>2011-08-03T11:11:21.531-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-03T11:11:21.531-07:00</app:edited><title>how can check value assign or not in php</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;isset &amp;nbsp;that test variable assign or not;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9045278382537007305-7895280066757358523?l=phpsimpleqa.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/XZU_Cqw2DoDRTSyzWLuUQynKhfk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XZU_Cqw2DoDRTSyzWLuUQynKhfk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/XZU_Cqw2DoDRTSyzWLuUQynKhfk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XZU_Cqw2DoDRTSyzWLuUQynKhfk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/PhpSimpleQa/~4/_wp5gXh6xSM" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/7895280066757358523?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9045278382537007305/posts/default/7895280066757358523?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/PhpSimpleQa/~3/_wp5gXh6xSM/how-can-check-value-assign-or-not-in.html" title="how can check value assign or not in php" /><author><name>bipin</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><feedburner:origLink>http://phpsimpleqa.blogspot.com/2011/08/how-can-check-value-assign-or-not-in.html</feedburner:origLink></entry></feed>

