<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-834499170958733342</id><updated>2025-03-02T11:51:18.845+05:00</updated><category term="LCD Monitor"/><title type='text'>Ayaz Haider</title><subtitle type='html'>Learn PHP and Get Tips and Hints about Computer.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>52</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-8752631031829147397</id><published>2014-08-13T11:24:00.000+05:00</published><updated>2014-08-13T11:28:35.592+05:00</updated><title type='text'>Saving HTML Form data to Multiple Text file with PHP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Step 1:&lt;br /&gt;
Make an HTML page and name it form.html&lt;br /&gt;
write bellow text in html page&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt; My Form &amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;lt;form name=&quot;myform&quot; action=&quot;save.php&quot; method=&quot;post&quot;&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Your Name :&amp;lt;input type=&quot;text&quot; name=&quot;name&quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Email Address :&amp;lt;input type=&quot;text&quot; name=&quot;email&quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
File :&amp;lt;Select name=&quot;file&quot;&amp;gt;&lt;br /&gt;
&amp;lt;option value=&quot;com&quot;&amp;gt; Comments &amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option value=&quot;rev&quot;&amp;gt; Review &amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option value=&quot;sug&quot;&amp;gt; Suggestion &amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option value=&quot;sup&quot;&amp;gt; Support &amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;/select&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Comment:&amp;lt;br&amp;gt; &amp;lt;textarea name=&quot;comment&quot;&amp;gt; &amp;lt;/textarea&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;submit&quot; value=&quot; Save &quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 2:&lt;br /&gt;
Make a php file name it save.php write bellow text in save.php&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
// Receive form Post data and Saving it in variables&lt;br /&gt;
&lt;br /&gt;
$name = @$_POST[&#39;name&#39;];&lt;br /&gt;
$email = @$_POST[&#39;email&#39;];&lt;br /&gt;
$comment = @$_POST[&#39;comment&#39;];&lt;br /&gt;
$file = @$_POST[&#39;file&#39;];&lt;br /&gt;
&lt;br /&gt;
// Get the name of text file where data will be store&lt;br /&gt;
$filename = $file.&quot;.txt&quot;;&lt;br /&gt;
&lt;br /&gt;
// Marge all the variables with text in a single variable.&lt;br /&gt;
$f_data= &#39;&lt;br /&gt;
Name : &#39;.$name.&#39;&lt;br /&gt;
Email : &amp;nbsp;&#39;.$email.&#39;&lt;br /&gt;
Comments: &#39;.$comment.&#39; &lt;br /&gt;
==============================================================================&lt;br /&gt;
&#39;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
echo &#39;Form data has been saved to &#39;.$filename.&#39; &amp;nbsp;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;a href=&quot;&#39;.$filename.&#39;&quot;&amp;gt;Click here to read &amp;lt;/a&amp;gt; &#39;;&lt;br /&gt;
$file = fopen($filename, &quot;a&quot;);&lt;br /&gt;
fwrite($file,$f_data);&lt;br /&gt;
fclose($file);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Step 3:&lt;br /&gt;
Make following 4 blank text files in same folder.&lt;br /&gt;
com.txt&lt;br /&gt;
rev.txt&lt;br /&gt;
sug.txt&lt;br /&gt;
sup.txt&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/8752631031829147397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2014/08/saving-html-form-data-to-multiple-text.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/8752631031829147397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/8752631031829147397'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2014/08/saving-html-form-data-to-multiple-text.html' title='Saving HTML Form data to Multiple Text file with PHP'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-2511877788157206680</id><published>2013-06-03T12:46:00.003+05:00</published><updated>2013-06-03T12:46:46.475+05:00</updated><title type='text'>PHP Array ( Intro and Understaning )</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #0b5394; font-family: Courier New, Courier, monospace;&quot;&gt;What is Array ?&lt;/span&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Array is a set of information stored in a single variable.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;every element of set will be seprated with a , cheracter.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;for example:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;$cars=array(&quot;Volvo&quot;,&quot;BMW&quot;,&quot;Toyota&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&lt;b&gt;Understaning:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; in above example $cars is set of car names.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&lt;b&gt;Parts:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&amp;nbsp;$cars &amp;nbsp; &amp;nbsp; : Variable Name / Set Name / Array Name&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&amp;nbsp;arrey ( ) : a php function to convert variable to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;Set / Array&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&amp;nbsp;&quot;Volvo&quot; / &quot;BMW&quot; / &quot;Toyota&quot; : elements of set / array&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&amp;nbsp; , &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: element&#39;s Seprator&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&lt;b&gt;Print / Call Array Element:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;echo &quot;I like &quot; . $cars[0] . &quot;,and you like&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&amp;nbsp;&quot; . $cars[1] . &quot; but my brother like &quot; . $cars[2] . &quot;.&quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&lt;b&gt;RESULT:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;I like&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;Volvo, and you like&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;BMW but my brother like&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;Toyota.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;Understaning:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/b&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;for print a arrey variable we type variable name element order number start from 0 to Max...&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;in above example if we type $cars[1] it will show 2nd element of $car which BMW.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&lt;b&gt;Parts:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;$cars[2]&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;$cars =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;Set Name / Array Name&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp;= Element order number&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [ ] &amp;nbsp; =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;Seprator between&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;Set Name and&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;element&#39;s order.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/2511877788157206680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2013/06/php-array-intro-and-understaning.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/2511877788157206680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/2511877788157206680'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2013/06/php-array-intro-and-understaning.html' title='PHP Array ( Intro and Understaning )'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-7145637140341858156</id><published>2012-06-04T14:37:00.000+05:00</published><updated>2012-06-04T14:37:21.953+05:00</updated><title type='text'>Get HTML Form Combo Box value from MySql Database with PHP</title><content type='html'>&lt;span style=&quot;color: rgb(51, 51, 51); font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; &quot;&gt;
In this post I show how to retrieve data from MySql DB into HTML form combo box.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;b style=&quot;font-size: 14px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 19px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: rgb(7, 55, 99); font-family: Verdana, sans-serif; &quot;&gt;
&lt;u&gt;Step 1.&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Verdana, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 12px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-size: xx-small; display: inline !important; float: none; &quot;&gt;
Make a mysql database and table.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;span style=&quot;font-size: xx-small; color: #333333; letter-spacing: normal; background-color: #FFFFFF&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif&quot;&gt;If you don&#39;t know how to do it 
kindly read following post&lt;br&gt;
&lt;a target=&quot;_blank&quot; href=&quot;http://ayazhaider.blogspot.com/2012/06/save-html-form-data-in-mysql-database.html&quot;&gt;
http://ayazhaider.blogspot.com/2012/06/save-html-form-data-in-mysql-database.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;
&lt;b style=&quot;font-size: 14px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 19px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: rgb(7, 55, 99); font-family: Verdana, sans-serif; &quot;&gt;
&lt;u&gt;Step 2.&lt;/u&gt;&lt;/b&gt;&lt;p&gt;
&lt;span style=&quot;font-size: xx-small; color: #333333; letter-spacing: normal; background-color: #FFFFFF&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif&quot;&gt;Use following &lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Verdana, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 12px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-size: xx-small; display: inline !important; float: none; &quot;&gt;
query to store some data in table. &lt;br&gt;
&amp;nbsp;&lt;/span&gt;&lt;p&gt;
&lt;span style=&quot;letter-spacing: normal; font-family: Verdana, sans-serif; font-size: xx-small; color: #333333; background-color: #FFFFFF&quot;&gt;
INSERT INTO `comments` (`name`, `email`,`comments`) VALUES&lt;br&gt;
(&#39;khalid&#39;,&#39;khalid@yahoo.com&#39;,&#39;hi, &amp;lt;br&amp;gt; test comments&#39;),&lt;br&gt;
(&#39;fared&#39;,&#39;fared@yahoo.com&#39;,&#39;hi, &amp;lt;br&amp;gt; test comments&#39;),&lt;br&gt;
(&#39;saad&#39;,&#39;saad@yahoo.com&#39;,&#39;hi, &amp;lt;br&amp;gt; test comments&#39;),&lt;br&gt;
(&#39;salman&#39;,&#39;salman@yahoo.com&#39;,&#39;hi, &amp;lt;br&amp;gt; test comments&#39;),&lt;br&gt;
(&#39;josef&#39;,&#39;josef@yahoo.com&#39;,&#39;hi, &amp;lt;br&amp;gt; test comments&#39;),&lt;br&gt;
(&#39;junifer&#39;,&#39;junifer@yahoo.com&#39;,&#39;hi, &amp;lt;br&amp;gt; test comments&#39;),&lt;br&gt;
(&#39;waleed&#39;,&#39;waleed@yahoo.com&#39;,&#39;hi, &amp;lt;br&amp;gt; test comments&#39;); &lt;/span&gt;
&lt;p&gt;
&lt;b style=&quot;font-size: 14px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 19px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: rgb(7, 55, 99); font-family: Verdana, sans-serif; &quot;&gt;
&lt;u&gt;Step 3.&lt;/u&gt;&lt;/b&gt;&lt;p&gt;
&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Verdana, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 12px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-size: xx-small; display: inline !important; float: none; &quot;&gt;
Make a php file ( custom_report.php ) &amp;nbsp;and copy following text.&lt;/span&gt;&lt;p&gt;
&lt;font face=&quot;Verdana&quot; size=&quot;1&quot;&gt;&amp;lt;?php&lt;br&gt;
// Make a connection to MySql DB&lt;br&gt;
$hostname = &amp;quot;&amp;quot;; // MySql Host For Example localhost&lt;br&gt;
$database = &amp;quot;web_data&amp;quot;; // Database Name&lt;br&gt;
$username = &amp;quot;root&amp;quot;; // Database User Name&lt;br&gt;
$password = &amp;quot;&amp;quot;; // Database Password&lt;br&gt;
$connection = mysql_connect($hostname, $username, $password) or 
trigger_error(mysql_error(),E_USER_ERROR); &lt;br&gt;
&lt;br&gt;
mysql_select_db($database, $connection);&lt;br&gt;
&lt;br&gt;
// Write a MySql query to retrive all comments from database&lt;br&gt;
$query = mysql_query(&amp;quot;Select * from `comments`&amp;quot;);&lt;br&gt;
echo&#39;&amp;lt;center&amp;gt;&amp;lt;h1&amp;gt; Website Comments Report &amp;lt;/h1&amp;gt;&amp;lt;/center&amp;gt;&#39;;&lt;br&gt;
&lt;br&gt;
echo&#39; &amp;lt;form action=&amp;quot;&amp;quot; method=&amp;quot;POST&amp;quot;&amp;gt; &lt;br&gt;
&amp;lt;font face=Verdana size=2&amp;gt;Select Name : &amp;lt;select name=&amp;quot;user&amp;quot;&amp;gt;&#39;;&lt;br&gt;
while($data = mysql_fetch_array($query)){&lt;br&gt;
echo&#39; &amp;lt;option value=&amp;quot;&#39;.$data[&#39;name&#39;].&#39;&amp;quot;&amp;gt;&#39;.$data[&#39;name&#39;].&#39;&amp;lt;/option&amp;gt;&#39;;&lt;br&gt;
}&lt;br&gt;
echo&#39;&amp;lt;/select&amp;gt; &amp;lt;br&amp;gt;&lt;br&gt;
&amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;Proceed&amp;quot;&amp;gt;&#39;;&lt;br&gt;
?&amp;gt;&lt;/font&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/7145637140341858156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2012/06/get-html-form-combo-box-value-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/7145637140341858156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/7145637140341858156'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2012/06/get-html-form-combo-box-value-from.html' title='Get HTML Form Combo Box value from MySql Database with PHP'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-1561951701587675813</id><published>2012-06-04T00:27:00.000+05:00</published><updated>2012-06-04T00:27:15.137+05:00</updated><title type='text'>Retrieve data from MySQL Database (MySql Report)</title><content type='html'>&lt;span style=&quot;color: rgb(51, 51, 51); font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none; &quot;&gt;
In this post I show how to retrieve data from MySql DB.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;b style=&quot;font-size: 14px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 19px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: rgb(7, 55, 99); font-family: Verdana, sans-serif; &quot;&gt;
&lt;u&gt;Step 1.&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Verdana, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 12px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-size: xx-small; display: inline !important; float: none; &quot;&gt;
Make a mysql database and store some data.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;span style=&quot;font-size: xx-small; color: #333333; letter-spacing: normal; background-color: #FFFFFF&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif&quot;&gt;If you don&#39;t know how to do it 
kindly read following post&lt;br&gt;
&lt;a target=&quot;_blank&quot; href=&quot;http://ayazhaider.blogspot.com/2012/06/save-html-form-data-in-mysql-database.html&quot;&gt;
http://ayazhaider.blogspot.com/2012/06/save-html-form-data-in-mysql-database.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;
&lt;b style=&quot;font-size: 14px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 19px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: white; color: rgb(7, 55, 99); font-family: Verdana, sans-serif; &quot;&gt;
&lt;u&gt;Step 2.&lt;/u&gt;&lt;/b&gt;&lt;p&gt;
&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Verdana, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 12px; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); font-size: xx-small; display: inline !important; float: none; &quot;&gt;
Make a php file ( report.php ) &amp;nbsp;and copy following text.&lt;/span&gt;&lt;p align=&quot;left&quot;&gt;
&lt;font face=&quot;Verdana, sans-serif&quot; style=&quot;font-size: xx-small&quot; color=&quot;#333333&quot;&gt;
&lt;span style=&quot;letter-spacing: normal&quot;&gt;&amp;lt;?php&lt;br&gt;
// Receive form Post data and Saving it in variables&lt;br&gt;
$name = @$_POST[&#39;name&#39;];&lt;br&gt;
$email = @$_POST[&#39;email&#39;];&lt;br&gt;
$comment = @$_POST[&#39;comment&#39;];&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
// Make a connection to MySql DB&lt;br&gt;
$hostname = &amp;quot;&amp;quot;; // MySql Host For Example localhost&lt;br&gt;
$database = &amp;quot;web_data&amp;quot;; // Database Name&lt;br&gt;
$username = &amp;quot;root&amp;quot;; // Database User Name&lt;br&gt;
$password = &amp;quot;&amp;quot;; // Database Password&lt;br&gt;
$connection = mysql_connect($hostname, $username, $password) or 
trigger_error(mysql_error(),E_USER_ERROR); &lt;br&gt;
&lt;br&gt;
mysql_select_db($database, $connection);&lt;br&gt;
&lt;br&gt;
// Write a MySql query to retrive all comments from database&lt;br&gt;
$query = mysql_query(&amp;quot;Select * from `comments`&amp;quot;);&lt;br&gt;
echo&#39;&amp;lt;center&amp;gt;&amp;lt;h1&amp;gt; Comments about your website &amp;lt;/h1&amp;gt;&#39;;&lt;br&gt;
&lt;br&gt;
while($data = mysql_fetch_array($query)){&lt;br&gt;
$id=$data[&#39;id&#39;];&lt;br&gt;
$name=$data[&#39;name&#39;];&lt;br&gt;
$email=$data[&#39;email&#39;];&lt;br&gt;
$comments=$data[&#39;comments&#39;];&lt;br&gt;
$date=$data[&#39;date&#39;];&lt;br&gt;
&lt;br&gt;
// Design your data in html&lt;br&gt;
echo &#39;&lt;br&gt;
&amp;lt;table border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;border-collapse: 
collapse&amp;quot; bordercolor=&amp;quot;#FFFFFF&amp;quot; width=&amp;quot;100%&amp;quot;&amp;gt;&lt;br&gt;
&amp;lt;tr&amp;gt;&lt;br&gt;
&amp;lt;td width=&amp;quot;100%&amp;quot; colspan=&amp;quot;4&amp;quot; bgcolor=&amp;quot;#0078B3&amp;quot; height=&amp;quot;4&amp;quot; bordercolor=&amp;quot;#FFFFFF&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;/tr&amp;gt;&lt;br&gt;
&amp;lt;tr&amp;gt;&lt;br&gt;
&amp;lt;td width=&amp;quot;11%&amp;quot;&amp;gt;&amp;lt;font size=&amp;quot;2&amp;quot; face=&amp;quot;Verdana&amp;quot;&amp;gt;Date / Time:&amp;lt;/font&amp;gt;&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;td width=&amp;quot;23%&amp;quot;&amp;gt;&amp;lt;font size=&amp;quot;2&amp;quot; face=&amp;quot;Verdana&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;amp;nbsp; &#39;.$date.&#39;&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;td width=&amp;quot;9%&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;td width=&amp;quot;57%&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;/tr&amp;gt;&lt;br&gt;
&amp;lt;tr&amp;gt;&lt;br&gt;
&amp;lt;td width=&amp;quot;11%&amp;quot;&amp;gt;&amp;lt;font size=&amp;quot;2&amp;quot; face=&amp;quot;Verdana&amp;quot;&amp;gt;Name:&amp;lt;/font&amp;gt;&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;td width=&amp;quot;23%&amp;quot;&amp;gt;&amp;lt;font size=&amp;quot;2&amp;quot; face=&amp;quot;Verdana&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;amp;nbsp; &#39;.$name.&#39;&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;td width=&amp;quot;9%&amp;quot;&amp;gt;&amp;lt;font size=&amp;quot;2&amp;quot; face=&amp;quot;Verdana&amp;quot;&amp;gt;Email:&amp;lt;/font&amp;gt;&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;td width=&amp;quot;57%&amp;quot;&amp;gt;&amp;lt;font size=&amp;quot;2&amp;quot; face=&amp;quot;Verdana&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;amp;nbsp; &#39;.$email.&#39;&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;/tr&amp;gt;&lt;br&gt;
&amp;lt;tr&amp;gt;&lt;br&gt;
&amp;lt;td width=&amp;quot;11%&amp;quot;&amp;gt;&amp;lt;font size=&amp;quot;2&amp;quot; face=&amp;quot;Verdana&amp;quot;&amp;gt;&amp;lt;b&amp;gt;Comments:&amp;lt;/font&amp;gt;&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;td width=&amp;quot;89%&amp;quot; colspan=&amp;quot;3&amp;quot;&amp;gt;&amp;lt;font size=&amp;quot;2&amp;quot; face=&amp;quot;Verdana&amp;quot;&amp;gt;&amp;amp;nbsp; 
&#39;.$comments.&#39;&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;/tr&amp;gt;&lt;br&gt;
&amp;lt;/table&amp;gt;&#39;;&lt;br&gt;
}&lt;/span&gt;&lt;/font&gt;&lt;p align=&quot;left&quot;&gt;
&lt;span style=&quot;letter-spacing: normal&quot;&gt;
&lt;font face=&quot;Verdana, sans-serif&quot; style=&quot;font-size: xx-small&quot; color=&quot;#333333&quot;&gt;?&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;p&gt;
&amp;nbsp;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/1561951701587675813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2012/06/retrieve-data-from-mysql-database-mysql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/1561951701587675813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/1561951701587675813'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2012/06/retrieve-data-from-mysql-database-mysql.html' title='Retrieve data from MySQL Database (MySql Report)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-7157108261134128146</id><published>2012-06-03T23:58:00.000+05:00</published><updated>2012-06-03T23:58:17.026+05:00</updated><title type='text'>Save HTML Form data in MySql Database</title><content type='html'>&lt;br /&gt;
In my&amp;nbsp;previous&amp;nbsp;posts I shown how to make and use different element of html form, there for kindly read that posts if you don&#39;t know about html form.&lt;br /&gt;
&lt;br /&gt;
In this post I show how to save form data in MySql DB.&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #073763; font-family: Verdana, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&lt;u&gt;Step 1.&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;Make an html page and copy following text.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;html&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;head&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;title&amp;gt; My Form &amp;lt;/title&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;body&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;form name=&quot;myform&quot; action=&quot;save.php&quot; method=&quot;post&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;p&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Your Name :&amp;lt;input type=&quot;text&quot; name=&quot;name&quot;&amp;gt;&amp;lt;br&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Email Address :&amp;lt;input type=&quot;text&quot; name=&quot;email&quot;&amp;gt;&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Comment:&amp;lt;br&amp;gt; &amp;lt;textarea name=&quot;comment&quot;&amp;gt; &amp;lt;/textarea&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;input type=&quot;submit&quot; value=&quot; Save &quot;&amp;gt;&amp;lt;br&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;/form&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;background-color: white; color: #073763; font-family: Verdana, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&lt;u&gt;Step 2.&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;Make a Database and name it web_data&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;Note: if you don&#39;t know how to make then read this post&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://ayazhaider.blogspot.com/2011/08/creating-mysql-database-in-wampserver.html&quot; target=&quot;_blank&quot;&gt;http://ayazhaider.blogspot.com/2011/08/creating-mysql-database-in-wampserver.html&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;After creating Database make a table and name it comments.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;Note: if you don&#39;t know how to make table then read this post&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://ayazhaider.blogspot.com/2011/09/creating-table-in-mysql-database.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;http://ayazhaider.blogspot.com/2011/09/creating-table-in-mysql-database.html&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;b style=&quot;background-color: white; color: #073763; font-family: Verdana, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;In comment table make following 5 fields.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;1) ID, 2) Name, 3) email, 4) comments, 5) date&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmxlMoBNIN3sFrPozqdCCgfOhHkzjzqWFFqQm48ryPT9Ec7SK-t2TnuQUuRR3IQeX_OjGtkSMMmJKct-_lRjLKOIAmQfd_jyXEaNdQvTqAkWeYdBe47Bq76iAZ6BonEdQJtht59DPh-h8/s1600/table.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;220&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmxlMoBNIN3sFrPozqdCCgfOhHkzjzqWFFqQm48ryPT9Ec7SK-t2TnuQUuRR3IQeX_OjGtkSMMmJKct-_lRjLKOIAmQfd_jyXEaNdQvTqAkWeYdBe47Bq76iAZ6BonEdQJtht59DPh-h8/s400/table.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;background-color: white; color: #073763; font-family: Verdana, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;&lt;u&gt;Step 3.&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: Verdana, sans-serif; font-size: xx-small;&quot;&gt;Make a php file ( save.php ) &amp;nbsp;and copy following text.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;// Receive form Post data and Saving it in variables&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;$name = @$_POST[&#39;name&#39;];&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;$email = @$_POST[&#39;email&#39;];&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;$comment = @$_POST[&#39;comment&#39;];&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;// Make a connection to MySql DB&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;$hostname = &quot;&quot;; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // MySql Host For Example localhost&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;$database = &quot;web_data&quot;; &amp;nbsp; &amp;nbsp; // Database Name&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;$username = &quot;root&quot;; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Database User Name&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;$password = &quot;&quot;; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Database Password&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;$connection = mysql_connect($hostname, $username, $password) or trigger_error(mysql_error(),E_USER_ERROR);&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;mysql_select_db($database, $connection);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$insert_query = &quot;INSERT INTO `comments` (`name`, `email`,`comments`) VALUES (&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &#39;$name&#39;,&#39;$email&#39;,&#39;$comment&#39;)&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;background-color: white; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;       &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;background-color: white; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;        &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;$result = mysql_query($insert_query, $connection) or die(&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&#39;&amp;lt;p&amp;gt;&amp;lt;font face=&quot;verdana&quot; size=&quot;2&quot; color=&quot;#FF0000&quot;&amp;gt;&amp;lt;b&amp;gt;Error!&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&#39;.mysql_error().&#39;&amp;lt;br&amp;gt;&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;background-color: white; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;if($result)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;echo &#39;&amp;lt;p&amp;gt;&amp;lt;font face=&quot;verdana&quot; size=&quot;2&quot; color=&quot;Green&quot;&amp;gt;&amp;lt;b&amp;gt;Your comments has been saved. &amp;lt;/br&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&#39; ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/7157108261134128146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2012/06/save-html-form-data-in-mysql-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/7157108261134128146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/7157108261134128146'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2012/06/save-html-form-data-in-mysql-database.html' title='Save HTML Form data in MySql Database'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmxlMoBNIN3sFrPozqdCCgfOhHkzjzqWFFqQm48ryPT9Ec7SK-t2TnuQUuRR3IQeX_OjGtkSMMmJKct-_lRjLKOIAmQfd_jyXEaNdQvTqAkWeYdBe47Bq76iAZ6BonEdQJtht59DPh-h8/s72-c/table.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-1131691591846006449</id><published>2012-02-18T16:17:00.002+05:00</published><updated>2012-02-21T12:40:31.853+05:00</updated><title type='text'>Creating Game session for MultiPlayer in Conflict Global</title><content type='html'>When Creat a Multiplayer game, User can&#39;t join.&lt;br /&gt;
&lt;br /&gt;
Reason:&lt;br /&gt;
GameSpy server unable to&amp;nbsp;retrieve&amp;nbsp;data from your PC Behind a router.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFs28odrPWQGSnV8Lwg1YKFE4sN4L7_T7T0mvnSQr7VSjrCmqMViL47FxaXz_mIVuDpjAT5t3uK4N7RlJmhtqNqyafKjEThh2ziTuVSnAaPyQMqAcjUdEM6oxkeGhr9h7oY0rCfRFjh4E/s1600/IMG00742-20120218-1545.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFs28odrPWQGSnV8Lwg1YKFE4sN4L7_T7T0mvnSQr7VSjrCmqMViL47FxaXz_mIVuDpjAT5t3uK4N7RlJmhtqNqyafKjEThh2ziTuVSnAaPyQMqAcjUdEM6oxkeGhr9h7oY0rCfRFjh4E/s320/IMG00742-20120218-1545.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Solutions:&lt;br /&gt;
You need to open . forword some ports in router to your pc,&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz1CnX-mKNrRv76p95zC_9uyDV2YRtupK-Z42Q-oyjGWyWE4vxo5aQ2HU7XoutBJaj9hhQyx1CxJ88xF33YnygR_3i8wcxtGYQoAQgUZxae4i-kpoOMpOkFxPsTGYL_U2DCU26f1tx1jU/s1600/step_1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz1CnX-mKNrRv76p95zC_9uyDV2YRtupK-Z42Q-oyjGWyWE4vxo5aQ2HU7XoutBJaj9hhQyx1CxJ88xF33YnygR_3i8wcxtGYQoAQgUZxae4i-kpoOMpOkFxPsTGYL_U2DCU26f1tx1jU/s320/step_1.JPG&quot; width=&quot;263&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&amp;nbsp;Note down your computer IP (Refer to above image )&lt;br /&gt;
&lt;br /&gt;
Then open Internet Browser and type your gateway IP in addressbar.&lt;br /&gt;
&lt;br /&gt;
Login to access router configuration: (Default user name is admin and pass is also admin)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhicSpi6fvtXJUVM8aIxepntoX7L4SuFgUI_Z1TrpyM6jpN9tnsQ-q-e2G6Z7ONq958sIF-dHPMsPb_8khkd3TF5mtE3B7SNCFAAcMGtDEZmOxrjFSTT9uxabfc1fgRodnXOgedX-b0A0E/s1600/step_2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhicSpi6fvtXJUVM8aIxepntoX7L4SuFgUI_Z1TrpyM6jpN9tnsQ-q-e2G6Z7ONq958sIF-dHPMsPb_8khkd3TF5mtE3B7SNCFAAcMGtDEZmOxrjFSTT9uxabfc1fgRodnXOgedX-b0A0E/s320/step_2.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Then&lt;br /&gt;
1- Click Adance setting&lt;br /&gt;
2- Click NAT&lt;br /&gt;
3- Then Click DMZ Host&lt;br /&gt;
4- Type your computer ip in Host Ip Address&lt;br /&gt;
5- Save / Apply and reboot your router&lt;br /&gt;
&lt;br /&gt;
Now you can create a game session and user can join that.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
My Slution:&lt;br /&gt;
I purchase a USB Broadband direct connection to play Multiplayer game.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY1z9g43eLb_Ib4VCq02_v-7h13-5m3PiJYEz1d9k-eo1x5Qo5hLyAeaFkResNHPiyYjoI0mhEnomoFJ0n835FG4Zl3mT01x1-VQ0RzKtIQkeoBQxWYilnUgD82DeFQeHfay1wj5aYI3M/s1600/IMG00743-20120218-1546.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;239&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY1z9g43eLb_Ib4VCq02_v-7h13-5m3PiJYEz1d9k-eo1x5Qo5hLyAeaFkResNHPiyYjoI0mhEnomoFJ0n835FG4Zl3mT01x1-VQ0RzKtIQkeoBQxWYilnUgD82DeFQeHfay1wj5aYI3M/s320/IMG00743-20120218-1546.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/1131691591846006449/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2012/02/creating-game-in-for-multiplayer-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/1131691591846006449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/1131691591846006449'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2012/02/creating-game-in-for-multiplayer-in.html' title='Creating Game session for MultiPlayer in Conflict Global'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFs28odrPWQGSnV8Lwg1YKFE4sN4L7_T7T0mvnSQr7VSjrCmqMViL47FxaXz_mIVuDpjAT5t3uK4N7RlJmhtqNqyafKjEThh2ziTuVSnAaPyQMqAcjUdEM6oxkeGhr9h7oY0rCfRFjh4E/s72-c/IMG00742-20120218-1545.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-319716717820316247</id><published>2012-02-05T20:25:00.002+05:00</published><updated>2012-02-05T20:25:46.582+05:00</updated><title type='text'>Fix Solve Generic Host Process for win32 services error while surfing internet</title><content type='html'>&lt;div style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;&lt;strong style=&quot;font-style: inherit; font-weight: bold;&quot;&gt;Symptoms:&lt;/strong&gt;&lt;/div&gt;&lt;ul style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 1.5em; margin-left: 1.5em; margin-right: 0px; margin-top: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;You are surfing the internet or are engaged any type of Internet activity when suddenly all your Network activity goes to hault. You can still see the Internet connected icon in the tray but you cannot surf, browse or do anything.&lt;/li&gt;
&lt;li style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 1.5em; margin-left: 1.5em; margin-right: 0px; margin-top: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;You get an error message something like “Generic Host Process for Win32 Services has encountered a problem and needs to close. We are sorry for the inconvenience.”&lt;/li&gt;
&lt;li style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 1.5em; margin-left: 1.5em; margin-right: 0px; margin-top: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Error message reporting about faulting netapi32.dll and svchost.exe.&lt;/li&gt;
&lt;li style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 1.5em; margin-left: 1.5em; margin-right: 0px; margin-top: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;You try to disconnect your Internet because of no activity observed but the Internet icon wont disappear.&lt;/li&gt;
&lt;li style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: square; margin-bottom: 1.5em; margin-left: 1.5em; margin-right: 0px; margin-top: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;You recieve an error message something like “Your PC has recovered from a serious problem” etc.&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Close Port 445:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;1. Start Registry Editor (Regedit.exe) by clicking Start menu, and then click the Run icon.&lt;br /&gt;
2. In the small box that Opens, type: regedit then click the OK button. The Registry Editor will now have opened.&lt;br /&gt;
3. Locate the following key in the registry:&lt;br /&gt;
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesNetBTParameters&lt;br /&gt;
In the right-hand side of the window find an option called TransportBindName.&lt;br /&gt;
Double click that value, and then delete the default value, thus giving it a blank value.&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Close Port 135:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;1. Then you must now navigate to the following registry key:&lt;br /&gt;
HKEY_LOCAL_MACHINESoftwareMicrosoftOLE&lt;br /&gt;
2. You will see there is a String Value called: EnableDCOM&lt;br /&gt;
Set the value to: N (it should currently be Y)&lt;br /&gt;
3. Close the Registry Editor. Shutdown and Restart your computer.&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;Well thats all&amp;nbsp;&lt;img alt=&quot;icon smile Fix Solve Generic Host Process for win32 services error while surfing internet&quot; src=&quot;http://www.sizlopedia.com/wp-includes/images/smilies/icon_smile.gif&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; padding-bottom: 0.5em; padding-left: 10px; padding-right: 10px; padding-top: 0px;&quot; title=&quot;Fix Solve Generic Host Process for win32 services error while surfing internet pics&quot; /&gt;&amp;nbsp;but if you want you can disable NETbios.&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;Well, this fixed my problem.. If it does fixes yours also, then fine.. If it doesn’t then here are other alternatives :&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;Here are 4 new solutions to the&amp;nbsp;&lt;strong style=&quot;font-style: inherit; font-weight: bold;&quot;&gt;Generic Host For Win32 Error&lt;/strong&gt;&amp;nbsp;in Windows:&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;&lt;strong style=&quot;font-style: inherit; font-weight: bold;&quot;&gt;Solution# 1:&lt;/strong&gt;&lt;/div&gt;&lt;ol style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: decimal; margin-bottom: 1.5em; margin-left: 1.5em; margin-right: 0px; margin-top: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Hop to ‘Run’ and open ‘Regedit’&lt;/li&gt;
&lt;li style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: decimal; margin-bottom: 1.5em; margin-left: 1.5em; margin-right: 0px; margin-top: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Navigate to:&lt;br /&gt;
HKEY_LOCAL_MACHINE &amp;gt; SYSTEM &amp;gt; CurrentControlSet &amp;gt; Services &amp;gt; Browser &amp;gt; Parameters&lt;/li&gt;
&lt;li style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: decimal; margin-bottom: 1.5em; margin-left: 1.5em; margin-right: 0px; margin-top: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Find the Key&lt;br /&gt;
Name: IsDomainMaster&lt;br /&gt;
and set&lt;br /&gt;
Data: False&lt;/li&gt;
&lt;li style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: decimal; margin-bottom: 1.5em; margin-left: 1.5em; margin-right: 0px; margin-top: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Restart Your PC&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;&lt;strong style=&quot;font-style: inherit; font-weight: bold;&quot;&gt;Solution# 2:&lt;/strong&gt;&lt;/div&gt;&lt;ol style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;li style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: decimal; margin-bottom: 1.5em; margin-left: 1.5em; margin-right: 0px; margin-top: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Go to ‘Run’ and open ‘cmd’&lt;/li&gt;
&lt;li style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: decimal; margin-bottom: 1.5em; margin-left: 1.5em; margin-right: 0px; margin-top: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Type ‘netsh’ in command console then press enter&lt;/li&gt;
&lt;li style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: decimal; margin-bottom: 1.5em; margin-left: 1.5em; margin-right: 0px; margin-top: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Then type ‘winsock’ and press enter and then type reset&lt;/li&gt;
&lt;li style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: decimal; margin-bottom: 1.5em; margin-left: 1.5em; margin-right: 0px; margin-top: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Restart Your PC&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;&lt;strong style=&quot;font-style: inherit; font-weight: bold;&quot;&gt;Solution# 3:&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;Get the&amp;nbsp;&lt;a href=&quot;http://freetechjournal.com/know/Microsoft_Update_Patch/1549/1&quot; rel=&quot;nofollow&quot; style=&quot;color: black;&quot; title=&quot;Microsoft Update Patch&quot;&gt;Microsoft Update Patch&lt;/a&gt;&amp;nbsp;and apply it.&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;If you don’t want to do the above tasks and want some tool to fix it automatically, then download this tool below :&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 1.5em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;&lt;a href=&quot;http://freetechjournal.com/downloads/generic-host-process-win32.zip&quot; style=&quot;color: black;&quot;&gt;Download tool to fix generic host process for win32 services error&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;em&gt;If you enjoyed this post, make sure you&amp;nbsp;&lt;a href=&quot;http://freetechjournal.com/feed&quot; style=&quot;color: black;&quot;&gt;subscribe to my RSS feed&lt;/a&gt;!&lt;/em&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;em&gt;&lt;br /&gt;
&lt;/em&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #555555; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; line-height: 24px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;em&gt;SOURCE: &amp;nbsp;&lt;/em&gt;&lt;a href=&quot;http://freetechjournal.com/&quot; style=&quot;background-color: transparent;&quot;&gt;http://freetechjournal.com&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/319716717820316247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2012/02/fix-solve-generic-host-process-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/319716717820316247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/319716717820316247'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2012/02/fix-solve-generic-host-process-for.html' title='Fix Solve Generic Host Process for win32 services error while surfing internet'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-6856367586783759416</id><published>2012-02-02T11:19:00.000+05:00</published><updated>2012-06-03T00:10:49.470+05:00</updated><title type='text'>Hide the Scheduled Tasks and Printers folder in the network share view</title><content type='html'>&lt;div style=&quot;background-color: white; font-family: Verdana; font-size: 13px;&quot;&gt;
When you browse a computer on the network (\\computername), the Scheduled Tasks appears in addition to shared folders and printers.&lt;/div&gt;
&lt;div align=&quot;center&quot; style=&quot;background-color: white; font-family: Verdana; font-size: 13px;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;189&quot; src=&quot;http://www.winxptutor.com/images/remotenamespace.JPG&quot; width=&quot;400&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Verdana; font-size: 13px;&quot;&gt;
To hide the Scheduled Tasks from the network share view, try the steps below:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: Verdana; font-size: 13px;&quot;&gt;
&lt;li&gt;Click Start, Run and type&amp;nbsp;&lt;b&gt;REGEDIT&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Navigate to the following key:&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote style=&quot;background-color: white; font-family: Verdana; font-size: 13px;&quot;&gt;
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \RemoteComputer \ NameSpace&lt;/blockquote&gt;
&lt;ul style=&quot;background-color: white; font-family: Verdana; font-size: 13px;&quot;&gt;
&lt;li&gt;Backup the key by exporting it to a .REG file.&lt;/li&gt;
&lt;li&gt;To remove Scheduled Tasks, delete the following key:&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote style=&quot;background-color: white; font-family: Verdana; font-size: 13px;&quot;&gt;
&lt;b&gt;{D6277990-4C6A-11CF-8D87-00AA0060F5BF}&lt;/b&gt;&lt;/blockquote&gt;
&lt;ul style=&quot;background-color: white; font-family: Verdana; font-size: 13px;&quot;&gt;
&lt;li&gt;To remove the Printers folder, delete the following key:&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote style=&quot;background-color: white; font-family: Verdana; font-size: 13px;&quot;&gt;
&lt;b&gt;{2227A280-3AEA-1069-A2DE-08002B30309D}&lt;/b&gt;&lt;/blockquote&gt;
&lt;ul style=&quot;background-color: white; font-family: Verdana; font-size: 13px;&quot;&gt;
&lt;li&gt;Close Registry Editor.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: xx-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana;&quot;&gt;Source:&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.winxptutor.com/schedshares.htm&quot;&gt;http://www.winxptutor.com/schedshares.htm&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/6856367586783759416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2012/02/hide-scheduled-tasks-and-printers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/6856367586783759416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/6856367586783759416'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2012/02/hide-scheduled-tasks-and-printers.html' title='Hide the Scheduled Tasks and Printers folder in the network share view'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-260752382696556892</id><published>2011-09-08T19:11:00.001+05:00</published><updated>2011-09-08T19:11:06.174+05:00</updated><title type='text'>Creating Table in MySQL Database</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;Step 1.&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;After Creating database we need a table to store our data.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL1PgNJin6lzB64NHmidlOKfMST-0q1IbtID4vGY5vv-zqFpmMZ1fbXC_Jsmw_H0iKoMu4AQWxOjXknJTbm9rc3LPmml9dk6FuJzxr2EAV_SZSDW-H0EHGwfE4oqxxp90hpqHWgJzVCkg/s1600/creat_table.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL1PgNJin6lzB64NHmidlOKfMST-0q1IbtID4vGY5vv-zqFpmMZ1fbXC_Jsmw_H0iKoMu4AQWxOjXknJTbm9rc3LPmml9dk6FuJzxr2EAV_SZSDW-H0EHGwfE4oqxxp90hpqHWgJzVCkg/s1600/creat_table.JPG&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Type your desired table name and number of required&amp;nbsp;columns&amp;nbsp;(fields) then click Go.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763; font-size: small;&quot;&gt;&lt;b&gt;&lt;u&gt;Step 2.&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhazTKk4V6yli17RgQqqU3THubK2lpAbcUIURGeWdW8a23hs9N81hIUHEzPDaTZMHtFfFZp4hGekzaQvLRRTpiQ-hZ4X-jinpYdeCyHFDUPCLJFVYuHjks5EutQgqGirhOXskyLn9PV2tU/s1600/feild.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;251&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhazTKk4V6yli17RgQqqU3THubK2lpAbcUIURGeWdW8a23hs9N81hIUHEzPDaTZMHtFfFZp4hGekzaQvLRRTpiQ-hZ4X-jinpYdeCyHFDUPCLJFVYuHjks5EutQgqGirhOXskyLn9PV2tU/s320/feild.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;Type&amp;nbsp;Field&amp;nbsp;Name (Example: User_name Etc)&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Select Type of data(Example:Varchar, date Etc)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Type Max Length (Example: 16, 255 Etc)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Set Default Value (Example: null, current_time)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;If the field is not always Required check NULL&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Set Index &amp;nbsp;(Example: Key, Unique Etc)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;For first&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;field &quot;Primery_ID&quot; check Auto_Increment&quot;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Write comments for your referace&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Then click GO and the table will be created.&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/260752382696556892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2011/09/creating-table-in-mysql-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/260752382696556892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/260752382696556892'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2011/09/creating-table-in-mysql-database.html' title='Creating Table in MySQL Database'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL1PgNJin6lzB64NHmidlOKfMST-0q1IbtID4vGY5vv-zqFpmMZ1fbXC_Jsmw_H0iKoMu4AQWxOjXknJTbm9rc3LPmml9dk6FuJzxr2EAV_SZSDW-H0EHGwfE4oqxxp90hpqHWgJzVCkg/s72-c/creat_table.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-8156865599220802202</id><published>2011-08-02T01:53:00.000+05:00</published><updated>2011-08-02T01:53:11.940+05:00</updated><title type='text'>Creating MySQL Database in WAMPSERVER</title><content type='html'>&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Creating MySql Database in WampServer.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDRiXFp0DbZ63wZ-jb2MszyPlbcRRZJuJRwEcaDYG68hcGYxhFjTPCJbFTzCIxZ7wuyK9w4iG1TxfQaFwV4uD09zO4FwHIGR8IxoXrKM3M50rlOulC98rSi6_qlwHsEJaKipc0bijca04/s1600/open_phpmyadmin.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;244&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDRiXFp0DbZ63wZ-jb2MszyPlbcRRZJuJRwEcaDYG68hcGYxhFjTPCJbFTzCIxZ7wuyK9w4iG1TxfQaFwV4uD09zO4FwHIGR8IxoXrKM3M50rlOulC98rSi6_qlwHsEJaKipc0bijca04/s320/open_phpmyadmin.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Open phpMyadmin&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;(Click WAMPSERVER icon in system tray and click phpMyadmin)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;OR&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Type http://localhost/phpmyadmin in browser address bar.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTjCCvXU0F1k0HEoPbHWzkVXooT1tDCfSbtt3FzmqL7LpVEsC6JyAfHf1LDFcGl9VbN2abvwzTgGVLxeT6jDtWXaQ2LXm7YmPUvL78Dw3qhKpwU6Y3fPZBTaSdkqBGahOQq-4PkAEHBKw/s1600/new_db.JPG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;265&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTjCCvXU0F1k0HEoPbHWzkVXooT1tDCfSbtt3FzmqL7LpVEsC6JyAfHf1LDFcGl9VbN2abvwzTgGVLxeT6jDtWXaQ2LXm7YmPUvL78Dw3qhKpwU6Y3fPZBTaSdkqBGahOQq-4PkAEHBKw/s320/new_db.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;On the very first page find MySQL localhost heading.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Type new database name in Create new database text&amp;nbsp;field.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Let the other fields default&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;(do not change any thing)&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;and click &lt;b&gt;Create&lt;/b&gt; Buton&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;After creating new db click&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: sans-serif; font-size: 13px; font-weight: bold;&quot;&gt;Privileges &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: sans-serif; font-size: 13px;&quot;&gt;tab.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: sans-serif; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: sans-serif; font-size: 13px;&quot;&gt;Click &lt;b&gt;Add New User&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;type user name, set any host, type password and confirm password, then&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;select&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: sans-serif; font-size: 13px;&quot;&gt;&lt;label for=&quot;createdb_3&quot;&gt;Grant all privileges on database.&lt;/label&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Scroll down and click &lt;b&gt;GO &lt;/b&gt;button&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;You have&amp;nbsp;Successfully&amp;nbsp;created new database and user. now you can see the new created database name in left side.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/8156865599220802202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2011/08/creating-mysql-database-in-wampserver.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/8156865599220802202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/8156865599220802202'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2011/08/creating-mysql-database-in-wampserver.html' title='Creating MySQL Database in WAMPSERVER'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDRiXFp0DbZ63wZ-jb2MszyPlbcRRZJuJRwEcaDYG68hcGYxhFjTPCJbFTzCIxZ7wuyK9w4iG1TxfQaFwV4uD09zO4FwHIGR8IxoXrKM3M50rlOulC98rSi6_qlwHsEJaKipc0bijca04/s72-c/open_phpmyadmin.JPG" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-8480287336779059515</id><published>2011-08-02T01:28:00.000+05:00</published><updated>2011-08-02T01:28:09.171+05:00</updated><title type='text'>What is MySQL Database</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;In last month (July) i was busy to&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;complete a project for one of my client there for i was unable to write blog.. and now i back with MySql ;-)&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Q:&amp;nbsp;What is MySQL Database&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;MySQL db is The most&amp;nbsp;recommended&amp;nbsp;and widely used Database for storing data online with PHP.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;MySQL Database is easy to manage with phpMyAdmin.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;phpMyAdmin is available within most of hosting control panel including &lt;b&gt;CPanel.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;and phpMyAdmin is also integrated within &lt;b&gt;WampServer.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;in upcoming blogs i will try to manage MySql Db with phpMyAdmin.&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/8480287336779059515/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2011/08/what-is-mysql-database.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/8480287336779059515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/8480287336779059515'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2011/08/what-is-mysql-database.html' title='What is MySQL Database'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-5259006128768152657</id><published>2011-06-11T11:56:00.002+05:00</published><updated>2012-05-31T10:01:44.207+05:00</updated><title type='text'>Saving HTML Form data in Text file with PHP</title><content type='html'>Step 1:&lt;br /&gt;
Make an HTML page and name it form.html&lt;br /&gt;
write bellow text in html page&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt; My Form &amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;lt;form name=&quot;myform&quot; action=&quot;save.php&quot; method=&quot;post&quot;&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Your Name :&amp;lt;input type=&quot;text&quot; name=&quot;name&quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;div&gt;
Email Address :&amp;lt;input type=&quot;text&quot; name=&quot;email&quot;&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;
&lt;div&gt;
Comment:&amp;lt;br&amp;gt; &amp;lt;textarea name=&quot;comment&quot;&amp;gt; &amp;lt;/textarea&amp;gt;&lt;/div&gt;
&lt;div&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;
&lt;div&gt;
&amp;lt;input type=&quot;submit&quot; value=&quot; Save &quot;&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;
&lt;div&gt;
&amp;lt;/form&amp;gt;&lt;/div&gt;
&lt;div&gt;
&amp;lt;/body&amp;gt;&lt;/div&gt;
&lt;div&gt;
&amp;lt;/html&amp;gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Step 2:&lt;/div&gt;
&lt;div&gt;
Make a php file name it save.php write bellow text in save.php&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&amp;lt;?php&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
//&amp;nbsp;Receive form Post data&amp;nbsp;and Saving it in variables&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
$name = @$_POST[&#39;name&#39;];&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
$email = @$_POST[&#39;email&#39;];&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
$comment = @$_POST[&#39;comment&#39;];&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;// Write the name of text file where data will be store&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;$filename = &quot;mydata.txt&quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 16px;&quot;&gt;// Marge all the variables with text in a single&amp;nbsp;variable.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;$f_data= &#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;Name : &#39;.&lt;/span&gt;$name.&#39;&lt;/div&gt;
&lt;div&gt;
Email :&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&#39;.&lt;/span&gt;$email.&#39;&lt;/div&gt;
&lt;div&gt;
Comments:&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&#39;.&lt;/span&gt;$comment.&#39;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 16px;&quot;&gt;==============================================================================&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 16px;&quot;&gt;&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 16px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: small; line-height: 16px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: small; line-height: 16px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;echo &#39;Form data has been saved to &#39;.$filename.&#39;&amp;nbsp;
&lt;span style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: small; line-height: normal;&quot;&gt;&amp;lt;&lt;/span&gt;br&lt;span style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: small; line-height: normal;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: small; line-height: normal;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;a href=&quot;&#39;.$filename.&#39;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;span style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;Click here to read&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: small; line-height: normal;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;/a&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;nbsp;&lt;span style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 16px;&quot;&gt;&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;$file = fopen($filename, &quot;w&quot;);&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;fwrite($file,$f_data);&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;fclose($file);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;Step 3:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;Make a blank text (&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;mydata.txt)&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;&quot;&gt;file in same folder.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/5259006128768152657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2011/06/saving-html-form-data-in-text-file-with.html#comment-form' title='29 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/5259006128768152657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/5259006128768152657'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2011/06/saving-html-form-data-in-text-file-with.html' title='Saving HTML Form data in Text file with PHP'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>29</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-1520730224390718971</id><published>2011-06-01T15:03:00.001+05:00</published><updated>2011-06-01T15:06:18.459+05:00</updated><title type='text'>HTML Form Drop Down Box (Combo Box) Description</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;If you want Let User select from one of the choices you given&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;lt; select size=&quot;1&quot;&amp;nbsp;name=&quot;myCombo&quot;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;id=&quot;myCombo&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;tabindex=&quot;1&quot; style=&quot;font-family: Verdana; font-size: 10px&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;lt; option value=&quot; &quot; selected &amp;gt;Please Select&amp;lt; /option&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;lt; option value=&quot;myValue&quot;&amp;gt;myText&amp;lt; /option&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;lt; option value=&quot;2nd_option&quot;&amp;gt;Second Text&amp;lt; /option&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;lt; option value=&quot;3rd_option&quot;&amp;gt;Third Option&amp;lt; /option&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;lt; /select&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;b&gt;Description:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Tag = &quot;&amp;lt;select&amp;gt; &amp;nbsp; &amp;lt;/select&amp;gt;&quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; ComboBox start with &amp;lt;select&amp;gt; and end with &amp;lt;/select&amp;gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;name= &quot;myCombo&quot; &amp;nbsp; Write the name of DropDown Box, it will be the same in php file where you send the data.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;id= &quot;myCombo&quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Write a unique id, it is widly used for javascript &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Options = &quot;&amp;lt;option&amp;gt; &amp;nbsp; &amp;lt;/option&amp;gt;&quot; &amp;nbsp;Write&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;option&amp;gt; at start and&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt;/option&amp;gt; at end for every option.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Value=&#39;myOption1&#39; &amp;nbsp; Write the Text in value which send by form to php if the option has been selected&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Type Text to show for option between option tag Example:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&quot;&amp;lt;select&amp;gt; User see this text &amp;nbsp;&amp;lt;/select&amp;gt;&quot; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;tabindex=&#39;1 &#39; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Write the tab order index &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Style = &amp;nbsp;&quot;&quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; You can define CSS Style for text area for example, font color, size, border color and type etc.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Events= &amp;nbsp; Combo Box support all default event for example onClick, onSelect, onFocus, onBlur, onMouseOver etc,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;---------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;In ABove Example&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;myValue will be send to php if user select&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;myText&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/1520730224390718971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2011/06/html-form-drop-down-box-combo-box.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/1520730224390718971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/1520730224390718971'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2011/06/html-form-drop-down-box-combo-box.html' title='HTML Form Drop Down Box (Combo Box) Description'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-4721719398916274973</id><published>2011-05-26T20:57:00.002+05:00</published><updated>2011-05-26T21:04:49.347+05:00</updated><title type='text'>HTML Form Text Area Description</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Text Area used for writing Multiple line text.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;lt; textarea name=&quot;myTextArea&quot; id=&quot;myTextArea&quot; rows=&quot;8&quot; &amp;nbsp;cols=&quot;31&quot; &amp;nbsp;tabindex=&quot;1&quot; style=&quot;font-family: Verdana; font-size: 12pt; color: #C0C0C0; border: 1px solid #000000&quot; onFocus=&quot;Javascript:this.value=&#39;&#39;;this.style.color=&#39;000000&#39;;&quot;&amp;gt;Write your Text Here..&amp;lt; /textarea&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;b&gt;Description:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Tag = &quot;&amp;lt; textarea&amp;gt; &amp;nbsp; &amp;lt; /textarea&amp;gt;&quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; Text area start with &amp;lt; textarea&amp;gt; and end with &amp;lt; /textarea&amp;gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;name= &quot;myText&quot; &amp;nbsp; Write the name of text area , it will be the same in php file where you send the data.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;id= &quot;myTextArea&quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Write a unique id, it is widly used for javascript &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;rows = &quot;8&quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Number of rows define the height of textarea in line.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;cols = &quot; 31 &quot; &amp;nbsp; &amp;nbsp;Columns define Width of textarea in characters.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;tabindex=&#39;1 &#39; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Write the tab order index &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Style = &amp;nbsp;&quot;&quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; You can define CSS Style for text area for example, font color, size, border color and type etc.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Events= &amp;nbsp; Text Area support all default event for example onClick, onFocus, onBlur, onMouseOver etc, in above example i write onFocus event to change the text and font color of Text Box.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;-----------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;NOTE: Remove the Space after &quot; &amp;lt; &quot; when you copy the code&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/4721719398916274973/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/html-form-text-area-description.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/4721719398916274973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/4721719398916274973'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/html-form-text-area-description.html' title='HTML Form Text Area Description'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-4764069068487146805</id><published>2011-05-25T21:33:00.000+05:00</published><updated>2011-05-25T21:33:23.778+05:00</updated><title type='text'>HTML Form Input Text Box (Text Field)  Description</title><content type='html'>&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Input Text field ( Text Box) used for writing single line text.&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Code:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&amp;lt; input type=&quot;text&quot; name=&quot;myText&quot; id=&quot;myText&quot;&amp;nbsp;size=&quot;15&quot; value=&quot;Write Your Text Here...&quot; tabindex=&quot;0&quot; style=&quot;font-family: Verdana; font-size: 12pt; color: #C0C0C0; border: 1px solid #000000&quot; onClick=&quot;Javascript:this.value=&#39;&#39;;this.style.color=&#39;000000&#39;;&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;strong&gt;Description:&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Type = &quot;text&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You must write input type text for a text box.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;name= &quot;myText&quot;&amp;nbsp;&amp;nbsp; Write the name of text box , it will be the same in php file where you send the data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;id= &quot;myText&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write a unique id, it is widly used for javascript for example if you call this element in javascript the code will be &#39;&amp;nbsp; document.getElementById(&#39;myText&#39;).&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Size = &quot;15&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write the text box length size.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;value = &quot; Text &quot;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write the default text it will be filled whenever the page load.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;tabindex=&#39; &#39;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write the tab order index it start from 0&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Style =&amp;nbsp; &quot;&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can define CSS Style for text box for example, font color, size, border color and type etc.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Events=&amp;nbsp;&amp;nbsp; Text box support all default event for example onClick, onFocus, onBlur, onMouseOver etc, in above example i write onClick event to change the text and font color of Text Box.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;-----------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;If you still have any doubt about text box let me know..&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/4764069068487146805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/html-form-input-text-box-text-field.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/4764069068487146805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/4764069068487146805'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/html-form-input-text-box-text-field.html' title='HTML Form Input Text Box (Text Field)  Description'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-519323570149282170</id><published>2011-05-25T08:43:00.006+05:00</published><updated>2011-05-25T09:14:48.605+05:00</updated><title type='text'>SEND HTML FORM DATA TO PHP FILE</title><content type='html'>&lt;div class=&quot;gmail_quote&quot;&gt;First make an html file, name it form.html write bellow code in form.html.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;form name=myform action=&quot;result.php&quot;&amp;gt;&lt;br /&gt;
Type your name: &amp;lt;input type=&quot;text&quot; name=&quot;user_name&quot;&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
your favorite color &amp;lt;input type=&quot;text&quot; name=&quot;color&quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
select font size:&lt;br /&gt;
&amp;lt;select name=&quot;font&quot;&amp;gt;&lt;br /&gt;
&amp;lt;option value=&quot;1&quot;&amp;gt;Small&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option value=&quot;3&quot; selected&amp;gt;&lt;br /&gt;
Medium&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option value=&quot;5&quot;&amp;gt;Large&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;/select&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;input type=&quot;submit&quot; value=&quot;Submit&quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in form we requist user to type his name, his&amp;nbsp;favourite&amp;nbsp;colour, font and we send &amp;nbsp;this data to result.php ( define at &amp;nbsp;&amp;lt;form &lt;b&gt;action=&quot;result.php&quot;&amp;gt;&lt;/b&gt; )&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;Now create a php file and name it result.php&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;write down following code in result.php&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&amp;lt;?PHP&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;// We did not define method in form tag. there for the data will be send in default method &lt;b&gt;&quot;GET&quot;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;//&amp;nbsp;Receive&amp;nbsp;Data and store it in a variable&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;$name = $_GET[&#39;user_name&#39;]; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // $_GET used for collect form element data where user_name is element name.&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;$color = $_GET[&#39;color&#39;];&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;$font = $_GET[&#39;font&#39;];&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;//Now print the name in&amp;nbsp;colour&amp;nbsp;and font&amp;nbsp;submitted&amp;nbsp;by user in form&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;echo &#39;&amp;lt;font face=&quot;verdena&quot; color=&quot; &#39;.$color.&#39; &quot; size=&quot; &#39;.$font.&#39; &quot; &amp;gt; &#39;. $name .&#39; &amp;lt;/font&amp;gt; &amp;lt;br&amp;gt;&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&amp;lt;br&amp;gt; &amp;lt;a href=&quot;form.html&quot;&amp;gt; Click Here to go back &amp;lt;/a&amp;gt;&#39;;&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;//We give a link of form.html at end of code to let user go back and test again.&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;?&amp;gt;&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;I hope in this&amp;nbsp;simple example you understand how to transfer form data to php. you can do several tasks in php such as store the form data in MySql DB or write to a txt file and even send the form to an email address.&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/519323570149282170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/fwd-send-html-form-data-to-php-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/519323570149282170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/519323570149282170'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/fwd-send-html-form-data-to-php-file.html' title='SEND HTML FORM DATA TO PHP FILE'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-1209576942057475497</id><published>2011-05-23T11:19:00.002+05:00</published><updated>2011-05-23T11:23:11.403+05:00</updated><title type='text'>HTML Form Elements</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;TEXT FIELD.&lt;/b&gt;&lt;br /&gt;
&amp;lt;input type=&quot;text&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;b&gt;PASSWORD FIELD.&lt;/b&gt;&lt;br /&gt;
&amp;lt;input type=&quot;password&quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;TEXT AREA.&lt;/b&gt;&lt;br /&gt;
&amp;lt;textarea cols=&quot;20&quot; rows=&quot;5&quot;&amp;gt; &amp;lt;/textarea&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;b&gt; DROP DOWN COMBO BOX&lt;/b&gt;&lt;br /&gt;
&amp;lt;select&amp;gt;&amp;lt;option value=&quot;pk&quot;&amp;gt;Pakistan&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option value=&quot;us&quot;&amp;gt; United State&amp;lt;/option&amp;gt;&amp;lt;/select&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;RADIO BUTTON&lt;/b&gt;&lt;br /&gt;
&amp;lt;input type=radio name=myradio&amp;gt;&lt;br /&gt;
CHECK BOX&lt;br /&gt;
&amp;lt;input type =&quot;checkbox&quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;SUBMIT BUTTON&lt;/b&gt;&lt;br /&gt;
&amp;lt;input type=&quot;submit&quot; value=&quot;save&quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;RESET BUTTON&lt;/b&gt;&lt;br /&gt;
&amp;lt;input type=&quot;reset&quot; value=&quot;Reset&quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;COSTOM BUTTON&lt;/b&gt;&lt;br /&gt;
&amp;lt;input type=&quot;button&quot; value=&quot;My Button&quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I describe each element in next posts&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/1209576942057475497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/html-form-elements.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/1209576942057475497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/1209576942057475497'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/html-form-elements.html' title='HTML Form Elements'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-6625085429506659187</id><published>2011-05-22T01:00:00.000+05:00</published><updated>2011-05-22T00:59:01.109+05:00</updated><title type='text'>HTML FORMS</title><content type='html'>HTML forms has very importance same like other forms of computer world.&lt;br&gt;u can collect user inputs with forms and process that via php.&lt;br&gt;form start with &amp;lt;form&amp;gt; and end with &amp;lt;/form&amp;gt;. you can use as many forms as u required in a page.&lt;br&gt;&lt;br&gt; 1. HTML FORM PROPERTY.&lt;br&gt;*name = give a name to ur form.&lt;br&gt;*id = give a unique id to ur form &lt;br&gt;*type= set the type of data ur form have.&lt;br&gt;*action = type the page url where u want to send data.&lt;br&gt;*method = set method to send data it can be POST or GET&lt;br&gt;*events =form support defult events.&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/6625085429506659187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/html-forms.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/6625085429506659187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/6625085429506659187'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/html-forms.html' title='HTML FORMS'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-1681924904032083560</id><published>2011-05-22T00:14:00.000+05:00</published><updated>2011-05-22T00:12:58.544+05:00</updated><title type='text'>Text formating in PHP</title><content type='html'>PHP use html to show result page, there for u need to have basic html knowledge.&lt;br&gt;Example 1&lt;br&gt;&amp;lt;html&amp;gt;&lt;br&gt;&amp;lt;head&amp;gt;&lt;br&gt;&amp;lt;title&amp;gt;My Page &amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&lt;br&gt;&amp;lt;body&amp;gt;&lt;br&gt; &amp;lt;?php&lt;br&gt;$f1=&amp;#39;&amp;lt;font face=&amp;quot;verdana&amp;quot; size=5 color=&amp;quot;#3322aa&amp;quot;&amp;gt;&amp;#39;;    // we define font format to use for heading&lt;br&gt;$f2=&amp;#39;&amp;lt;font face=&amp;quot;verdana&amp;quot; color=&amp;quot;black&amp;quot; size=2&amp;gt;&amp;#39;;   // we define font format use for text     &lt;br&gt;$f_e=&amp;#39;&amp;lt;/font&amp;gt;&amp;#39;;   //let we unset font formating&lt;br&gt;echo $f1.&amp;#39;MY TEXT&amp;#39;.$f_e.&amp;#39;&amp;lt;br&amp;gt;&amp;#39;.$f2.&amp;#39;this is my text which is formated normal font.&amp;#39;;&lt;br&gt;?&amp;gt;&amp;lt;/body&amp;gt;&lt;br&gt;&amp;lt;/head&amp;gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/1681924904032083560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/text-formating-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/1681924904032083560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/1681924904032083560'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/text-formating-in-php.html' title='Text formating in PHP'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-5757568553187212793</id><published>2011-05-21T18:07:00.000+05:00</published><updated>2011-05-21T18:07:53.914+05:00</updated><title type='text'>Calculation in PHP</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;You can Plus, Minus,&amp;nbsp;Multiply and&amp;nbsp;Divide the PHP Variables.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Symbol are&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;+ For addition&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;- For&amp;nbsp;Subtraction&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;* For Multiply&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;/ &amp;nbsp;For&amp;nbsp;Division&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Example 1:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;$a = 20;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;$b = 30;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;$ans = $a + $b;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;echo &amp;nbsp;$ans ; &amp;nbsp;\\Return: 50&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Example 2:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;$a = 5;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;$b = 10;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;$c = 5;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;$ans = ($a * $b) / ($a+$c);&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;echo $ans ; &amp;nbsp; &amp;nbsp; &amp;nbsp; \\Return 5&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Calculating Static Numbers with Variable.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Example 3:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;$a = 50;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;$b= 10;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;$ans = ($a+$b) / 2 ;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;Echo $ans ; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\\ Return 30&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/5757568553187212793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/calculation-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/5757568553187212793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/5757568553187212793'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/calculation-in-php.html' title='Calculation in PHP'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-2661800660557812618</id><published>2011-05-20T23:01:00.002+05:00</published><updated>2011-05-21T17:34:47.793+05:00</updated><title type='text'>WORKING WITH VARIABLES IN PHP</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Marge 2 or more variables: &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;example 1:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;$var_1=&#39;I am&#39;; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;$var_2=&#39;a boy&#39;; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;$var_3=$var_1.&#39; &#39;.$var_2; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;echo $var_3;     \\return:&quot; I am a boy  &quot; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;in above example 1 we marge the string of $var_1 and $var_2 in $var_3. &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Add 2 or more variables (math). &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;example 2:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;$var1 = 5; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;$var2 = 10; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;$var3= $var1+$var2; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;echo $var3;   \\return: &quot; 15 &quot; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In above example 2 we add var1 and var2 in var3&lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/2661800660557812618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/working-with-variables-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/2661800660557812618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/2661800660557812618'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/working-with-variables-in-php.html' title='WORKING WITH VARIABLES IN PHP'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-4758077465866346847</id><published>2011-05-20T12:08:00.001+05:00</published><updated>2011-05-20T18:38:42.717+05:00</updated><title type='text'>Using quotes in PHP</title><content type='html'>&lt;div class=&quot;Section1&quot;&gt;&lt;h2 style=&quot;margin-bottom: 7.5pt; margin-left: .5in; margin-right: 0in; mso-list: l0 level1 lfo1; mso-margin-top-alt: 7.5pt; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;1-&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Single quotes( ‘ ’ ) or double quotes ( “ ” )used for define static text. &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2 style=&quot;margin-bottom: 7.5pt; margin-left: 0in; margin-right: 0in; mso-margin-top-alt: 7.5pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 8pt; font-weight: normal;&quot;&gt;&lt;u&gt;Example:&lt;/u&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2 style=&quot;margin-bottom: 7.5pt; margin-left: 0in; margin-right: 0in; mso-margin-top-alt: 7.5pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 8pt; font-weight: normal;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif; font-size: 11px; font-weight: normal;&quot;&gt;$myText = “This is My Text”; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \\ double quotes ( “ ” ) are used for declare static text to variable $myText.&lt;/span&gt;&lt;/h2&gt;&lt;h2 style=&quot;margin-bottom: 7.5pt; margin-left: .5in; margin-right: 0in; mso-list: l0 level1 lfo1; mso-margin-top-alt: 7.5pt; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;2-&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;Use Semicolon ( ; ) Sign after each code.&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2 style=&quot;margin-bottom: 7.5pt; margin-left: 0in; margin-right: 0in; mso-margin-top-alt: 7.5pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 8pt; font-weight: normal;&quot;&gt;&lt;u&gt;Example:&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2 style=&quot;margin-bottom: 7.5pt; margin-left: 0in; margin-right: 0in; mso-margin-top-alt: 7.5pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 8pt; font-weight: normal;&quot;&gt;$myText = ‘This is My Text’; $MyNo = 0323 ;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;\\ $myText and $MyNo are two variables declared in same line&lt;/span&gt;&lt;/h2&gt;&lt;h2 style=&quot;margin-bottom: 7.5pt; margin-left: .5in; margin-right: 0in; mso-list: l0 level1 lfo1; mso-margin-top-alt: 7.5pt; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;3-&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 8pt;&quot;&gt;If you have to use same quotes between string then you must put backslash ( \ )before quote&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2 style=&quot;margin-bottom: 7.5pt; margin-left: 0in; margin-right: 0in; mso-margin-top-alt: 7.5pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 8pt; font-weight: normal;&quot;&gt;&lt;u&gt;Example:&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2 style=&quot;margin-bottom: 7.5pt; margin-left: 0in; margin-right: 0in; mso-margin-top-alt: 7.5pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 8pt; font-weight: normal;&quot;&gt;$myText = ‘He Said: ”I don\’t have a ball”. ’; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \\ &amp;nbsp;returns: He Said: ”I don’t have a ball”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2 style=&quot;margin-bottom: 7.5pt; margin-left: 0in; margin-right: 0in; mso-margin-top-alt: 7.5pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 8pt; font-weight: normal;&quot;&gt;$mystring= “He Said: \”I don’t have a ball\”. “; &amp;nbsp; &amp;nbsp; &amp;nbsp; \\ &amp;nbsp;returns: He Said: ”I don’t have a ball”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/4758077465866346847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/using-quotes-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/4758077465866346847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/4758077465866346847'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/using-quotes-in-php.html' title='Using quotes in PHP'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-8316011817434305704</id><published>2011-05-20T12:06:00.001+05:00</published><updated>2011-05-20T12:06:21.539+05:00</updated><title type='text'>PHP Variables</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=intro style=&#39;margin-top:7.5pt&#39;&gt;&lt;span style=&#39;font-size:10.5pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#404040&#39;&gt;A variable is used to store dynamic information.&lt;/span&gt;&lt;span style=&#39;font-size:10.5pt;color:#404040&#39;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div class=MsoNormal align=center style=&#39;text-align:center&#39;&gt;&lt;span class=apple-style-span&gt;&lt;span style=&#39;font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;; color:black&#39;&gt;  &lt;hr size=1 width=&quot;100%&quot; noshade style=&#39;color:#D4D4D4&#39; align=center&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;p&gt;&lt;span style=&#39;font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black&#39;&gt;Variables are used for storing values, like text strings, numbers or arrays.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style=&#39;font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black&#39;&gt;When a variable is declared, it can be used over and over again in your script.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;h2 style=&#39;mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:7.5pt; margin-left:0in&#39;&gt;&lt;span style=&#39;font-size:14.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;; color:black;font-weight:normal&#39;&gt;Naming Rules for Variables&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;p class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto&#39;&gt;&lt;span style=&#39;font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black&#39;&gt;All variables in PHP start with a $ sign symbol.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ul type=disc&gt;  &lt;li class=MsoNormal style=&#39;color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:      auto;mso-list:l1 level1 lfo1&#39;&gt;&lt;span style=&#39;font-size:9.0pt;font-family:      &quot;Verdana&quot;,&quot;sans-serif&quot;&#39;&gt;A variable name must start with a letter or an      underscore &amp;quot;_&amp;quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:      auto;mso-list:l1 level1 lfo1&#39;&gt;&lt;span style=&#39;font-size:9.0pt;font-family:      &quot;Verdana&quot;,&quot;sans-serif&quot;&#39;&gt;A variable name shouldn&amp;#8217;t start with number &amp;nbsp;(      0-9 ) .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:      auto;mso-list:l1 level1 lfo1&#39;&gt;&lt;span style=&#39;font-size:9.0pt;font-family:      &quot;Verdana&quot;,&quot;sans-serif&quot;&#39;&gt;A variable name can only contain alpha-numeric      characters and underscores (a-z, A-Z, 0-9, and _ )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:      auto;mso-list:l1 level1 lfo1&#39;&gt;&lt;span style=&#39;font-size:9.0pt;font-family:      &quot;Verdana&quot;,&quot;sans-serif&quot;&#39;&gt;A variable name should not contain spaces. If a      variable name is more than one word, it should be separated with an      underscore ($my_string), or with capitalization ($myString)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;  &lt;li class=MsoNormal style=&#39;color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt:      auto;mso-list:l1 level1 lfo1&#39;&gt;&lt;span style=&#39;font-size:9.0pt;font-family:      &quot;Verdana&quot;,&quot;sans-serif&quot;&#39;&gt;Variable names are case sensitive. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p class=MsoNormal style=&#39;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto&#39;&gt;&lt;span style=&#39;font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black&#39;&gt;The correct way of declaring a variable in PHP:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0 width=&quot;100%&quot;  style=&#39;width:100.0%;border:solid #E5EECC 4.5pt;outline-width: 1px;outline-style: solid;  outline-color: rgb(212, 212, 212)&#39;&gt;  &lt;tr&gt;   &lt;td style=&#39;border:solid #D4D4D4 1.0pt;background:white;padding:3.0pt 3.0pt 3.0pt 3.0pt&#39;&gt;   &lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;$var_name   = value;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/table&gt;  &lt;p&gt;&lt;b&gt;&lt;span style=&#39;font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;; color:black&#39;&gt;Variable will not work&lt;/span&gt;&lt;/b&gt;&lt;span style=&#39;font-size:9.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black&#39;&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&#39;margin-left:.5in;text-indent:-.25in;mso-list:l2 level1 lfo2&#39;&gt;&lt;![if !supportLists]&gt;&lt;span style=&#39;font-size:9.0pt;font-family:Symbol;color:black&#39;&gt;&lt;span style=&#39;mso-list: Ignore&#39;&gt;&amp;middot;&lt;span style=&#39;font:7.0pt &quot;Times New Roman&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style=&#39;font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;; color:black&#39;&gt;If you forget the $ sign at the beginning of the variable. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style=&#39;margin-left:.5in;text-indent:-.25in;mso-list:l2 level1 lfo2&#39;&gt;&lt;![if !supportLists]&gt;&lt;span style=&#39;font-size:9.0pt;font-family:Symbol;color:black&#39;&gt;&lt;span style=&#39;mso-list: Ignore&#39;&gt;&amp;middot;&lt;span style=&#39;font:7.0pt &quot;Times New Roman&quot;&#39;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]&gt;&lt;span style=&#39;font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;; color:black&#39;&gt;If you declare a variable name $MyString and call $mystring. (Case should be same)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style=&#39;font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black&#39;&gt;Let&#39;s try creating a variable containing a string, and a variable containing a number:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0 width=&quot;100%&quot;  style=&#39;width:100.0%;border:solid #E5EECC 4.5pt&#39;&gt;  &lt;tr&gt;   &lt;td style=&#39;border:solid #D4D4D4 1.0pt;background:white;padding:3.0pt 3.0pt 3.0pt 3.0pt&#39;&gt;   &lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;&amp;lt;?php&lt;br&gt;   $txt=&amp;quot;Hello World!&amp;quot;;&lt;br&gt;   $x=16;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;echo   $txt ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;echo   &amp;#8220;&amp;lt;br&amp;gt;&amp;quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;echo   $x ;&lt;br&gt;   ?&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/table&gt;  &lt;p class=MsoNormal&gt;&lt;span class=apple-style-span&gt;&lt;span style=&#39;font-size:9.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;span class=apple-style-span&gt;&lt;span style=&#39;font-size:10.5pt; font-family:Consolas;color:#444444&#39;&gt;Use your browser to Access the above page and you see&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0 width=&quot;100%&quot;  style=&#39;width:100.0%;border:solid #E5EECC 4.5pt&#39;&gt;  &lt;tr&gt;   &lt;td style=&#39;border:solid #D4D4D4 1.0pt;background:white;padding:3.0pt 3.0pt 3.0pt 3.0pt&#39;&gt;   &lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;Hello   World&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class=MsoNormal&gt;&lt;span style=&#39;font-size:10.0pt;font-family:&quot;Courier New&quot;&#39;&gt;16&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/table&gt;  &lt;p class=MsoNormal&gt;&lt;span class=apple-style-span&gt;&lt;span style=&#39;font-size:9.0pt; font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;span class=apple-style-span&gt;&lt;span style=&#39;font-size:10.5pt; font-family:Consolas;color:#444444&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div class=MsoNormal align=center style=&#39;text-align:center&#39;&gt;&lt;span class=apple-style-span&gt;&lt;span style=&#39;font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;; color:black&#39;&gt;  &lt;hr size=1 width=&quot;100%&quot; noshade style=&#39;color:#D4D4D4&#39; align=center&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;h2 style=&#39;mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:7.5pt; margin-left:0in&#39;&gt;&lt;span style=&#39;font-size:8.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;; color:black;font-weight:normal&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;h2 style=&#39;mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:7.5pt; margin-left:0in&#39;&gt;&lt;span style=&#39;font-size:8.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;; color:black;font-weight:normal&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;h2 style=&#39;mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:7.5pt; margin-left:0in&#39;&gt;&lt;span style=&#39;font-size:8.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;; color:black;font-weight:normal&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;h2 style=&#39;mso-margin-top-alt:7.5pt;margin-right:0in;margin-bottom:7.5pt; margin-left:0in&#39;&gt;&lt;span style=&#39;font-size:8.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;; color:black;font-weight:normal&#39;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;/div&gt;  &lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/8316011817434305704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/php-variables.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/8316011817434305704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/8316011817434305704'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/php-variables.html' title='PHP Variables'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-3463804050443894434</id><published>2011-05-20T10:44:00.002+05:00</published><updated>2011-05-20T11:28:15.005+05:00</updated><title type='text'>Basic PHP Syntax and Comments</title><content type='html'>&lt;div class=&quot;Section1&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;A PHP scripting block always starts with&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;and ends with&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;. A PHP scripting block can be placed anywhere in the document. If your&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt; servers with shorthand support enabled you can start a scripting block with &amp;lt;? and end with ?&amp;gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;For maximum compatibility, I recommend that you use the standard form &amp;lt; ?php rather than the shorthand form.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border: solid #E5EECC 4.5pt; width: 100.0%;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;background: white; border: solid #D4D4D4 1.0pt; padding: 3.0pt 3.0pt 3.0pt 3.0pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;?php&lt;br /&gt;
?&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 7.5pt; margin-left: 0in; margin-right: 0in; mso-margin-top-alt: 7.5pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 14.5pt;&quot;&gt;Writing Comments.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif; font-size: 9pt;&quot;&gt;In PHP, we use // to make a single-line comment or /* and */ to make a large comment block.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 9pt;&quot;&gt;Comments used for writing some text for&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px;&quot;&gt;reference&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 9pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border: solid #E5EECC 4.5pt; width: 100.0%;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;   &lt;td style=&quot;background: white; border: solid #D4D4D4 1.0pt; padding: 3.0pt 3.0pt 3.0pt 3.0pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;lt;?php&lt;br /&gt;
//This is a comments&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
This is&lt;br /&gt;
a comment&lt;br /&gt;
block&lt;br /&gt;
*/&lt;br /&gt;
?&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/3463804050443894434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/basic-php-syntax-and-comments.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/3463804050443894434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/3463804050443894434'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/basic-php-syntax-and-comments.html' title='Basic PHP Syntax and Comments'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-834499170958733342.post-4414639599549834802</id><published>2011-05-19T19:28:00.003+05:00</published><updated>2011-05-19T19:34:21.474+05:00</updated><title type='text'>Hello, World!</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: 14px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h1 class=&quot;title&quot; style=&quot;background-color: transparent; color: #000066; font-size: 18px; font-weight: bold; margin-top: 0px;&quot;&gt;Your first PHP-enabled page&lt;/h1&gt;&lt;h1 class=&quot;title&quot; style=&quot;background-color: transparent; color: #000066; font-size: 18px; font-weight: bold; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-size: small; font-weight: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: 14px;&quot;&gt;Create a file named&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-size: small; font-weight: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: 14px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-size: small; font-weight: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: 14px;&quot;&gt;&lt;var class=&quot;filename&quot;&gt;hello.php&lt;/var&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-size: small; font-weight: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: 14px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-size: small; font-weight: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: 14px;&quot;&gt;and put it in your web server&#39;s root directory (&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-size: small; font-weight: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: 14px;&quot;&gt;&lt;var class=&quot;varname&quot;&gt;&lt;var class=&quot;varname&quot;&gt;DOCUMENT_ROOT&lt;/var&gt;&lt;/var&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-size: small; font-weight: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: 14px;&quot;&gt;) with the following content:&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div class=&quot;info&quot;&gt;&lt;div style=&quot;border-bottom-color: rgb(0, 0, 0); border-bottom-style: dotted; border-bottom-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-indent: 1em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas, &#39;Andale Mono WT&#39;, &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, &#39;Courier New&#39;, Courier, monospace; font-size: 14px;&quot;&gt;&lt;b&gt;Example: Your first PHP script:&amp;nbsp;&lt;var class=&quot;filename&quot;&gt;hello.php&lt;/var&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;example-contents&quot; style=&quot;background-color: #e1e1e1; border-bottom-color: rgb(0, 0, 0); border-bottom-style: outset; border-bottom-width: 1px; border-left-color: rgb(0, 0, 0); border-left-style: outset; border-left-width: 1px; border-right-color: rgb(0, 0, 0); border-right-style: outset; border-right-width: 1px; border-top-color: rgb(0, 0, 0); border-top-style: outset; border-top-width: 1px; margin-bottom: 10px; margin-left: 10px; margin-right: 10px; margin-top: 10px;&quot;&gt;&lt;div class=&quot;phpcode&quot; style=&quot;padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em; text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas, &#39;Andale Mono WT&#39;, &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, &#39;Courier New&#39;, Courier, monospace; font-size: 14px;&quot;&gt;&lt;code style=&quot;font-family: Consolas, &#39;Andale Mono WT&#39;, &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;title&amp;gt;My First PHP File &amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;nbsp;&lt;span style=&quot;color: #0000bb;&quot;&gt;&amp;lt;?php&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;echo&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&#39;&amp;lt;p&amp;gt;Hello, World!&amp;lt;/p&amp;gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;example-contents&quot; style=&quot;background-color: #e1e1e1; border-bottom-color: rgb(0, 0, 0); border-bottom-style: outset; border-bottom-width: 1px; border-left-color: rgb(0, 0, 0); border-left-style: outset; border-left-width: 1px; border-right-color: rgb(0, 0, 0); border-right-style: outset; border-right-width: 1px; border-top-color: rgb(0, 0, 0); border-top-style: outset; border-top-width: 1px; margin-bottom: 10px; margin-left: 10px; margin-right: 10px; margin-top: 10px;&quot;&gt;&lt;div style=&quot;background-color: #cccccc; border-bottom-color: rgb(0, 0, 0); border-bottom-style: outset; border-bottom-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-indent: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas, &#39;Andale Mono WT&#39;, &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, &#39;Courier New&#39;, Courier, monospace; font-size: 14px;&quot;&gt;Use your browser to Access hello.php and you see&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #cccccc; border-bottom-color: rgb(0, 0, 0); border-bottom-style: outset; border-bottom-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.2em; padding-left: 0.2em; padding-right: 0.2em; padding-top: 0.2em; text-indent: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas, &#39;Andale Mono WT&#39;, &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, &#39;Courier New&#39;, Courier, monospace; font-size: 14px;&quot;&gt;Hello, World !&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Consolas, &#39;Andale Mono WT&#39;, &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, &#39;Courier New&#39;, Courier, monospace; font-size: 14px;&quot;&gt; &lt;/span&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;http://ayazhaider.blogspot.com&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ayazhaider.blogspot.com/feeds/4414639599549834802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/hello-world.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/4414639599549834802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/834499170958733342/posts/default/4414639599549834802'/><link rel='alternate' type='text/html' href='http://ayazhaider.blogspot.com/2011/05/hello-world.html' title='Hello, World!'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/01108863362668052958</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>