<?xml version="1.0" encoding="UTF-8" standalone="no"?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"><channel><title>Free Online PHP Programming Tutorial</title><description>Free PHP MySQL Tutorial, PHP Guide online. Useful Free PHP Tutorial, Free PHP Guide and PHP MySQL Help.</description><managingEditor>noreply@blogger.com (Unknown)</managingEditor><pubDate>Wed, 18 Dec 2024 19:30:17 -0800</pubDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">15</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">25</openSearch:itemsPerPage><link>http://phpmysqlprogramming.blogspot.com/</link><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:keywords>PHP,MySQL,Programming,PHP,Programming,PHP,Development,India,PHP,Development,PHP,Programming,India,PHP,Web,Development,PHP,Web,Programming,PHP,India,PHP,php,mysql,apache,mysql,php,php,and,mysql</itunes:keywords><itunes:summary>PHP MySQL Web Development and Programming Services india for PHP MySQL Application Development.</itunes:summary><itunes:subtitle>PHP MySQL Programming</itunes:subtitle><itunes:category text="Technology"><itunes:category text="Gadgets"/></itunes:category><itunes:author>Kaushal Patel</itunes:author><itunes:owner><itunes:email>noreply@blogger.com</itunes:email><itunes:name>Kaushal Patel</itunes:name></itunes:owner><item><title>PHP Variable Data Types : Free PHP Tutorial</title><link>http://phpmysqlprogramming.blogspot.com/2009/05/php-variable-data-types-free-php.html</link><category>PHP</category><category>PHP Variable</category><category>PHP Variable Data Type</category><pubDate>Fri, 1 May 2009 22:07:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4937699923595123309.post-4119427811391556216</guid><description>&lt;span style="font-family: verdana;"&gt;In previous post i have said that you can change the value of a variable, so the important of variable type is not much in php. But it is important to have knowledge of PHP Variable Data Types. So I have put all important data types here.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--   @page { margin: 0.79in }   P { margin-bottom: 0.08in } &lt;/style--&gt;&lt;span style="font-family: verdana;"&gt;PHP supports eight primitive data types as follow.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: verdana;"&gt;Scalar Types: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;PHP support four scalar types.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;1. Boolean : TRUE or FALSE. Any non zero values and non empty string are also counted as TRUE.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;2. Integer : Round numbers (e.g. 52, -5248, 8459)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;3. Float : Floating-point number or 'Double' (e.g. 0.845875, 510.05)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;4. String : "Hello PHP", ' Free Online PHP &amp;amp; MySQL Tutorial', etc&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: verdana;"&gt;Compound Types: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;PHP support two compound types.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;1. Array&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;2. Object&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family: verdana;"&gt;Special Types: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;PHP support two special types.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;1. Resource&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;2. NULL&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;We will discuss about each data types in future.&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><author>noreply@blogger.com (Kaushal Patel)</author></item><item><title>PHP Tutorial - Constants in PHP</title><link>http://phpmysqlprogramming.blogspot.com/2009/03/php-tutorial-constants-in-php.html</link><category>Constant</category><category>Constants</category><category>Guide</category><category>Help</category><category>PHP</category><category>PHP Constants</category><category>PHP Constants Tutorial</category><category>PHP MySQL Guide</category><category>PHP MySQL Programming</category><category>PHP MySQL Tutorial</category><category>PHP Online Tutorial Free PHP Tutorials</category><category>Tutorial</category><pubDate>Fri, 6 Mar 2009 09:28:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4937699923595123309.post-1107967859926984972</guid><description>&lt;style type="text/css"&gt;  &lt;!--   @page { margin: 0.79in }   P { margin-bottom: 0.08in }  --&gt;  &lt;/style&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;font-size:100%;"&gt;A constant contains data just like variables, but once you have assigned a value to Constants, you can't change it. It means Constants have a single value throughout the program. Thus it is different from PHP Variables. Defining Constants is different then defining Variable in PHP. Constants do not have a $ before their names. By convention, usually constants are uppercase names. See the example...&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-bottom: 0in; color: rgb(51, 51, 255);"&gt;&lt;span style="font-family:Verdana,sans-serif;font-size:100%;"&gt;&lt;span style="color:blue;"&gt;define("BIRTHDATE", "1/1/1983")&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in;"&gt;&lt;span style="font-family:Verdana,sans-serif;font-size:100%;"&gt;Whenever you wish to reference it within the body of code, you can do so simply by using its name.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0.19in; margin-bottom: 0.19in; color: rgb(51, 51, 255);"&gt;&lt;span style="font-family:Verdana,sans-serif;font-size:100%;"&gt;&lt;span style="color:blue;"&gt;echo(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Verdana,sans-serif;font-size:100%;"&gt;&lt;span style="color:blue;"&gt;BIRTHDATE&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Verdana,sans-serif;font-size:100%;"&gt;&lt;span style="color:blue;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;font-size:100%;"&gt;Constants can contain only scalar values (numbers and string). You can access the Constants everywhere in the program as it has global scope. You can use it even in the functions after the have been declared.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Kaushal Patel)</author></item><item><title>PHP Variable – Assigning and Reassigning Variables in PHP</title><link>http://phpmysqlprogramming.blogspot.com/2009/03/php-variable-assigning-and-reassigning.html</link><category>Assigning</category><category>Guide</category><category>Help</category><category>PHP</category><category>PHP MySQL Guide</category><category>PHP MySQL Programming</category><category>PHP MySQL Tutorial</category><category>PHP Tutorial</category><category>PHP Variable Assigning</category><category>PHP Variable Reassigning</category><category>PHP Variables</category><category>Reassigning</category><category>Tutorial</category><category>Variable</category><pubDate>Thu, 5 Mar 2009 09:21:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4937699923595123309.post-5685963349913613626</guid><description>&lt;style type="text/css"&gt;  &lt;!--   @page { margin: 0.79in }   P { margin-bottom: 0.08in }  --&gt;  &lt;/style&gt;   &lt;p  style="margin-bottom: 0in;font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;Assigning Variables&lt;/b&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="margin-bottom: 0in;font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;Variable Assignment in PHP is very easy. Just write the variable name and add equal “=” sign and then the expression that you want to assign to the variable name.&lt;/span&gt;&lt;/p&gt;  &lt;p  style="margin-bottom: 0in;font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;Reassigning Variables&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p  style="margin-bottom: 0in;font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;In PHP you will be pleased to know that you can reassign the variable value after declaring it. You can change the values of PHP variable even if the assigned values are different data types. For example.&lt;/span&gt;&lt;/p&gt;   &lt;p  style="margin-bottom: 0in; color: rgb(51, 51, 255);font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;$value = “Value”;&lt;/span&gt;&lt;/p&gt;&lt;p  style="margin-bottom: 0in; color: rgb(51, 51, 255);font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;$value = 5;&lt;/span&gt;&lt;/p&gt;  &lt;p  style="margin-bottom: 0in;font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;You can see the first statement contain string and the second one contain numeric value. Thus you can reassign the variable value even their data type is different.&lt;/span&gt;&lt;/p&gt;&lt;p  style="margin-bottom: 0in;font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Kaushal Patel)</author></item><item><title>How to Declare PHP Variables</title><link>http://phpmysqlprogramming.blogspot.com/2009/02/how-to-declare-php-variables.html</link><category>PHP Example Tutorial</category><category>PHP MySQL Guide</category><category>PHP MySQL Help</category><category>PHP MySQL Programming</category><category>PHP MySQL Tutorial</category><category>PHP MySQL Variable</category><category>PHP Variable</category><category>PHP Variable Declaration</category><category>Step by Step PHP Guide</category><pubDate>Sat, 28 Feb 2009 04:06:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4937699923595123309.post-115507853394847302</guid><description>&lt;span style="font-family:verdana;"&gt;In PHP, all variable names must start with the character '$'. Like other languages we do not have to declare the variables at the start of the script or program in PHP. You can declare the variable when you want to use before the statement which contain the variable.&lt;br /&gt;&lt;br /&gt;In some languages like C, C++, and Java, we must declare the name and datatype of variable before using it. But in PHP, datatype is related with the assigned value so no datatype declaration is necessary. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><author>noreply@blogger.com (Kaushal Patel)</author></item><item><title>Most important Rules for PHP Variables</title><link>http://phpmysqlprogramming.blogspot.com/2009/02/most-important-rules-for-php-variables.html</link><category>PHP Example Tutorial</category><category>PHP MySQL Application Development</category><category>PHP MySQL Guide</category><category>PHP MySQL Help</category><category>PHP MySQL Programming</category><category>PHP MySQL Tutorial</category><category>PHP MySQL Variable</category><category>PHP Variable</category><category>Step by Step PHP Guide</category><pubDate>Thu, 26 Feb 2009 08:10:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4937699923595123309.post-1715070390460202064</guid><description>&lt;style type="text/css"&gt;  &lt;!--   @page { margin: 0.79in }   P { margin-bottom: 0.08in }  --&gt;  &lt;/style&gt; &lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;Here are some most important rules to remember before declaring PHP Variables.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;A  &lt;b&gt;PHP Variable&lt;/b&gt; must &lt;b&gt;start with a letter&lt;/b&gt;  (A-Z, a-z) or  &lt;b&gt;underscore&lt;/b&gt; (_).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;It  can only contain &lt;b&gt;alpha-numeric characters&lt;/b&gt; (A-Z, a-z, 0-9) and  &lt;b&gt;underscore&lt;/b&gt; (_).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;PHP  Variable&lt;/b&gt; name should not contain spaces. If it contains more  than one word then it will be &lt;b&gt;separated by underscore&lt;/b&gt;  ($emp_salary) or &lt;b&gt;capitalization&lt;/b&gt; ($empSalary)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;PHP  Variable&lt;/b&gt; name can be any length.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p style="margin-bottom: 0in;"&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;PHP  Variable &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;are  case sensitive. Means &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;Uppercase  letter PHP Variables are and lowercase Letter PHP Variables are not  the same.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Verdana,sans-serif;"&gt;&lt;span style="font-size:85%;"&gt;  For example. $stdname and $stdName are not the same Variable.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Kaushal Patel)</author></item><item><title>PHP Variable - Introduction</title><link>http://phpmysqlprogramming.blogspot.com/2009/02/php-variable-introduction.html</link><category>PHP Example Tutorial</category><category>PHP Guide</category><category>PHP Help</category><category>PHP MySQL Application Development</category><category>PHP MySQL Programming</category><category>PHP Tutorial</category><category>PHP Variable</category><category>PHP Variable Data Type</category><category>PHP Web Programming</category><category>Step by Step PHP Guide</category><pubDate>Wed, 25 Feb 2009 08:40:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4937699923595123309.post-8649448489727485187</guid><description>&lt;span style="font-family: verdana;"&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;What is Variable?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A &lt;/span&gt;&lt;b style="font-family: verdana;"&gt;variable&lt;/b&gt;&lt;span style="font-family: verdana;"&gt; &lt;/span&gt;&lt;span style="font-family: verdana;"&gt;is a &lt;/span&gt;&lt;span style="font-family: verdana;"&gt;symbol that stands for a &lt;/span&gt;&lt;span style="font-family: verdana;"&gt;value that may vary in the program&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;font-size:130%;" &gt;&lt;span style="font-weight: bold;"&gt;PHP Variable:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Like all programing language, &lt;span style="font-weight: bold;"&gt;PHP&lt;/span&gt; allows us to store bits of data in &lt;span style="font-weight: bold;"&gt;variable&lt;/span&gt;, and then to access that data by writing the &lt;span style="font-weight: bold;"&gt;variable&lt;/span&gt; name in the program. But here you can find that the &lt;span style="font-weight: bold;"&gt;PHP variable&lt;/span&gt; is relatively different then other languages like C and JAVA. In &lt;span style="font-weight: bold;"&gt;PHP&lt;/span&gt;, we do not need to declare the &lt;span style="font-weight: bold;"&gt;variable&lt;/span&gt; type when declaring the variable. It also means that we can change the data type of a variable in &lt;span style="font-weight: bold;"&gt;PHP&lt;/span&gt; as we change the data that the variable contains.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Kaushal Patel)</author></item><item><title>PHP Syntax</title><link>http://phpmysqlprogramming.blogspot.com/2009/02/php-syntax.html</link><category>Learn PHP</category><category>PHP Guide</category><category>PHP Help</category><category>PHP MySQL Development</category><category>PHP MySQL Programming</category><category>PHP Syntax</category><category>PHP Tutor</category><category>PHP Tutorial</category><category>PHP Web Programming</category><category>Step by Step PHP</category><pubDate>Tue, 17 Feb 2009 06:55:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4937699923595123309.post-1529927461561645726</guid><description>&lt;div style="font-family: verdana;"&gt;A &lt;strong&gt;PHP Scripting&lt;/strong&gt; block (PHP Syntax starts with &amp;lt;?php and ends with ?&amp;gt;. As described in HTML and PHP Integration post you can declare the php code in many ways. Below is the Example.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:blue;"&gt;&amp;lt;?php &lt;/span&gt;&lt;br /&gt;&lt;span style="color:blue;"&gt;echo “Kaushal Patel” &lt;/span&gt;&lt;br /&gt;&lt;span style="color:blue;"&gt;?&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Be careful that each PHP code must end with a semicolon. &lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Kaushal Patel)</author></item><item><title>How to create PHP Comments</title><link>http://phpmysqlprogramming.blogspot.com/2009/02/how-to-create-php-comments.html</link><category>Development</category><category>Learn PHP</category><category>PHP</category><category>PHP Blog</category><category>PHP Comments</category><category>PHP Guide</category><category>PHP Help</category><category>PHP Information</category><category>PHP MySQL</category><category>PHP MySQL Programming</category><category>PHP Tutor</category><category>PHP Tutorial</category><category>PHP Web Programming</category><category>Step by Step PHP</category><pubDate>Mon, 16 Feb 2009 12:39:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4937699923595123309.post-5746166308552930705</guid><description>&lt;span style="font-family:verdana;"&gt;In the last post you learn about &lt;strong&gt;PHP and HTML embedding&lt;/strong&gt;. Now in this post you will be introduce to another important thing of &lt;strong&gt;PHP Programming&lt;/strong&gt;. It is &lt;strong&gt;PHP Comments&lt;/strong&gt;. You can write comments three different ways in php.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The first way of declaring PHP Comments is like C Language.&lt;/strong&gt;&lt;span style="color:blue;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;/*&lt;br /&gt;This is a C Language type PHP Comment&lt;br /&gt;*/&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;strong&gt;The second way of declaring PHP Comments is like C++ Language.&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:blue;"&gt;&lt;br /&gt;// This is a C++ type PHP Comment which ends at the end of line&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;The third way of declaring PHP Comments is like Shell way. &lt;/strong&gt;&lt;br /&gt;&lt;span style="color:blue;"&gt;# This is a shell type PHP Comment which ends at the end of line&lt;/span&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Kaushal Patel)</author></item><item><title>How PHP is embedded in HTML?</title><link>http://phpmysqlprogramming.blogspot.com/2009/02/how-php-is-embedded-in-html.html</link><category>ASP Style PHP Tags</category><category>PHP Example</category><category>PHP HTML Embedding</category><category>PHP MySQL</category><category>PHP MySQL Development</category><category>PHP MySQL Programming</category><category>PHP Web Development</category><category>PHP Web Programming</category><category>Sample PHP Code</category><pubDate>Mon, 16 Feb 2009 02:31:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4937699923595123309.post-8820224380240614754</guid><description>&lt;span style="font-family:verdana;"&gt;In below example you will see how you can &lt;/span&gt;&lt;strong style="font-family: verdana;"&gt;embed PHP in your HTML Script&lt;/strong&gt;&lt;span style="font-family:verdana;"&gt;.&lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;HEAD&amp;gt;Sample PHP Script&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt;&lt;br /&gt;&amp;lt;?php&lt;br /&gt;echo "Kaushal Patel is working as SEO";&lt;br /&gt;?&amp;gt;&lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;When the &lt;/span&gt;&lt;strong style="font-family: verdana;"&gt;PHP interpreter&lt;/strong&gt;&lt;span style="font-family:verdana;"&gt; reached the php tag the server will run the code and send the output to the system. &lt;/span&gt;&lt;strong style="font-family: verdana;"&gt;PHP&lt;/strong&gt;&lt;span style="font-family:verdana;"&gt; then replaces that &lt;/span&gt;&lt;strong style="font-family: verdana;"&gt;PHP code&lt;/strong&gt;&lt;span style="font-family:verdana;"&gt; with its output. Thus the output would be as following.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:blue;"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;HEAD&amp;gt;Sample PHP Script&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt;&lt;br /&gt;Kaushal Patel is working as SEO&lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;At Last the HTML code is execute the result on your browser.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Kaushal Patel)</author></item><item><title>How to Define PHP Tags?</title><link>http://phpmysqlprogramming.blogspot.com/2009/02/how-to-define-php-tags.html</link><category>ASP Style PHP Tags</category><category>Canonical PHP Tags</category><category>HTML Script Tags</category><category>PHP</category><category>PHP MySQL Development</category><category>PHP MySQL Programming</category><category>PHP Programming</category><category>PHP Web Development</category><category>PHP Web Programming</category><category>Short-Open PHP Tags</category><pubDate>Sun, 15 Feb 2009 22:11:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4937699923595123309.post-7695247106009764853</guid><description>&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;u&gt;Canonical PHP tags&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;This style is most universally effective and popular PHP tag style. It looks like this:&lt;br /&gt;&lt;br /&gt;&lt;font color="blue"&gt;&amp;lt;?php ?&amp;gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;It is safe to use this style as some of the other style of php tags may be phased out in the future.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;Short-open (SGML-style) tags&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;This is a shortest option of php tag style. It looks like this:&lt;br /&gt;&lt;br /&gt;&lt;font color="blue"&gt;&amp;lt;? ?&amp;gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;You must do one of two things to enable PHP to recognize the tags:&lt;br /&gt;· Choose the --enable-short-tags configuration option when you’re building PHP.&lt;br /&gt;· Set the short_open_tag setting in your php.ini file to on. This option must be disabled to parse XML with PHP because the same syntax is used for XML tags.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;ASP-style tags&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;This Style of tags is just like Microsoft’s ASP Style tags. It looks like this:&lt;br /&gt;&lt;br /&gt;&lt;font color="blue"&gt;&amp;lt;% %&amp;gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;To use ASP style tags you should change the php.ini configuration&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;HTML script style tags&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;HTML script style tags is looks like this:&lt;br /&gt;&lt;br /&gt;&lt;font color="blue"&gt;&amp;lt;SCRIPT LANGUAGE=”PHP”&amp;gt; &amp;lt;/SCRIPT&amp;gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;When using this kind of style be careful if you are using lots of javascript then the close tags are fatally ambiguous.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Kaushal Patel)</author></item><item><title>Server-Side v/s Client-Side Scripting</title><link>http://phpmysqlprogramming.blogspot.com/2009/02/server-side-vs-client-side-scripting.html</link><category>PHP</category><category>PHP MySQL</category><category>PHP MySQL Application Development</category><category>PHP MySQL Development</category><category>PHP MySQL Programming</category><category>PHP Programming</category><category>PHP Web Development</category><category>PHP Web Programming</category><pubDate>Sun, 15 Feb 2009 08:03:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4937699923595123309.post-1294836079289657326</guid><description>&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;PHP is known as Server-Side Scripting. Why? Because the PHP code is Processed at the web server and then executed on the web browser. It is a Dynamic Programming Language. Most of the programming languages like ASP, PHP, Perl, and C (there are others as well) are server-side scripting language.&lt;br /&gt;&lt;br /&gt;Other side some pages are directly processed by the browser. This is called client-side processing. One of the example of client side scripting is JAVASCRIPT.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><author>noreply@blogger.com (Kaushal Patel)</author></item><item><title>PHP Features</title><link>http://phpmysqlprogramming.blogspot.com/2009/02/php-features.html</link><category>PHP</category><category>PHP Feature</category><category>PHP MySQL</category><category>PHP MySQL Development</category><category>PHP MySQL Programming</category><category>PHP Web Programming</category><pubDate>Sat, 14 Feb 2009 23:51:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4937699923595123309.post-1758639655665976310</guid><description>&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;u&gt;Availability&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;• Free and open source (GPL)&lt;br /&gt;• Cross-platform (Unix, Linux, BSD, MacOS X, Win32, etc.)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;u&gt;Installation&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;• Can run as CGI program (external to a web server)&lt;br /&gt;• Can run as web server module (this is the standard case, e.g. with the Apache server)&lt;br /&gt;• Can be used as command-line scripting engine&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;u&gt;Highlights&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;• Good database support (Oracle, Sybase, Microsoft, MySQL, Postgres, ODBC, etc.)&lt;br /&gt;• Good system integration (files)&lt;br /&gt;• Complete programming language, including OO support&lt;br /&gt;• Easy to learn&lt;br /&gt;• Made for internet application (cookies, authentication, sessions, redirection...)&lt;br /&gt;• Dozens of integrated libraries (LDAP, PDF, XML, GIF,...)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;u&gt;Alternatives&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;• ASP (Microsoft)&lt;br /&gt;• JSP (Java)&lt;br /&gt;• Cold Fusion (Adobe)&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Kaushal Patel)</author></item><item><title>Why PHP and MySQL?</title><link>http://phpmysqlprogramming.blogspot.com/2009/02/why-php-and-mysql.html</link><category>PHP</category><category>PHP MySQL</category><category>PHP MySQL Development</category><category>PHP MySQL Programming</category><category>PHP Programming</category><category>PHP Web Development</category><category>PHP Web Programming</category><pubDate>Sat, 14 Feb 2009 20:24:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4937699923595123309.post-5781621518858600761</guid><description>&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;u&gt;Cost&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Both &lt;strong&gt;PHP and MySQL&lt;/strong&gt; is opensource so it is very low cost to use &lt;strong&gt;PHP and MySQL&lt;/strong&gt;. MySQL is licensed for some users but though it is not a community-developed software.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;u&gt;Ease of Use &lt;/u&gt;&lt;br /&gt;&lt;br /&gt;PHP&lt;/strong&gt; is easy to learn and use compared to other language. It doesn’t required you to have deep understanding of programming. PHP has syntax which is easy to use and user friendly. As it is an opensource you can find lots of free scripts on the internet to help you learn PHP. You need to be aware of some basic principles, but you can avoid some frustrating and time-consuming mistakes.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;u&gt;HTML-embeddedness&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;PHP is easy embedded within HTML. Actually PHP pages are basically a HTML page that runs the PHP code when necessary.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;Cross-platform compatibility&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PHP and MySQL&lt;/strong&gt; has Cross-Platform Compatibility. It means &lt;strong&gt;PHP and MySQL&lt;/strong&gt; can run on every system like Mac OS, UNIX, Windows etc. PHP is compatible with the three leading Web servers: Apache HTTP Server for UNIX and Windows, Microsoft Internet Information Server, and Netscape Enterprise Server.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;Not tag-based&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;PHP is real programming language&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;strong&gt;Stability&lt;/strong&gt; &lt;/u&gt;&lt;br /&gt;&lt;br /&gt;The word stable means two different things in this context:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:verdana;"&gt;The server doesn’t need to be rebooted often.&lt;br /&gt;&lt;/span&gt;&lt;li&gt;&lt;span style="font-family:verdana;"&gt;The software doesn’t change radically and incompatibly from release to release.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family:verdana;"&gt;To our advantage, both of these connotations apply to both MySQL and PHP.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;strong&gt;Speed&lt;/strong&gt; &lt;/u&gt;&lt;br /&gt;&lt;br /&gt;PHP is pleasing speed in its execution, especially when compiled as an Apache module on the UNIX side. PHP5 is much faster for almost every use than CGI scripts.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;"&gt;We will look at some other reasons later.&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Kaushal Patel)</author></item><item><title>What is MySQL?</title><link>http://phpmysqlprogramming.blogspot.com/2009/02/what-is-mysql.html</link><category>Database Management System</category><category>MySQL</category><category>MySQL Database</category><category>Opensource MySQL</category><category>Relational Database Management System</category><pubDate>Sun, 8 Feb 2009 21:23:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4937699923595123309.post-6074131852902193955</guid><description>&lt;span style="font-weight: bold;font-family:verdana;" &gt;&lt;br /&gt;What is MySQL?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-weight: bold;"&gt;MySQL&lt;/span&gt; is a &lt;span style="font-weight: bold;"&gt;Opensource Relational Database Management System&lt;/span&gt;.  It is useful source to add, &lt;/span&gt;&lt;span style="font-family:verdana;"&gt;edit, delete or processing on any data.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-weight: bold;"&gt;MySQL&lt;/span&gt; is an Opensource so anybody can download it from the Internet and use it free of cost. &lt;/span&gt;&lt;span style="font-family:verdana;"&gt;Adding to that anybody can edit the source code and change it to suit his needs.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;The performance of &lt;span style="font-weight: bold;"&gt;MySQL&lt;/span&gt; is lot Faster then any other &lt;span style="font-weight: bold;"&gt;DBMS&lt;/span&gt;. So you can process large number &lt;/span&gt;&lt;span style="font-family:verdana;"&gt;of data at once. The other advantage is its easiness.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Kaushal Patel)</author></item><item><title>What is PHP ?</title><link>http://phpmysqlprogramming.blogspot.com/2009/02/what-is-php.html</link><category>HTML</category><category>Hypertext Preprocessor</category><category>opensource scripting language</category><category>PHP</category><category>Scripting Language</category><category>server side scripting languag</category><pubDate>Thu, 5 Feb 2009 22:10:00 -0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4937699923595123309.post-2543467219042308647</guid><description>&lt;span style="font-weight: bold;font-family:verdana;font-size:100%;"  &gt;&lt;br /&gt;What is PHP?&lt;/span&gt;&lt;span style=";font-family:verdana;font-size:100%;"  &gt;&lt;br /&gt;&lt;br /&gt;PHP is a an opensource scripting language to design and develop dynamic websites. PHP Stands for PHP:Hypertext Preprocessor.&lt;br /&gt;&lt;br /&gt;PHP is a server side scripting language. PHP is HTML embedded scripting language so it executes on the web server and the results of that php statement will be executed on browser with HTML.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><author>noreply@blogger.com (Kaushal Patel)</author></item></channel></rss>