<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.conservapedia.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=HowardS</id>
	<title>Conservapedia - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.conservapedia.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=HowardS"/>
	<link rel="alternate" type="text/html" href="https://www.conservapedia.com/Special:Contributions/HowardS"/>
	<updated>2026-10-25T21:40:58Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://www.conservapedia.com/index.php?title=PHP&amp;diff=1009076</id>
		<title>PHP</title>
		<link rel="alternate" type="text/html" href="https://www.conservapedia.com/index.php?title=PHP&amp;diff=1009076"/>
		<updated>2012-09-25T20:49:23Z</updated>

		<summary type="html">&lt;p&gt;HowardS: /* Strings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''PHP''' is a server-side scripting language for creating interactive [[web page]]s. The acronym ''PHP'' derives from Personal Home Page, but is now defined as &amp;quot;PHP: Hypertext Pre-Processor&amp;quot; (it means &amp;quot;something to handle data before it becomes HTML&amp;quot; &amp;lt;ref&amp;gt;[http://www.htmlite.com/php001.php HTMLite PHP Tutorial]&amp;lt;/ref&amp;gt; ). Unlike [[HTML]], JavaScript and others, PHP is a Server-Side scripting language. It most always is processed into HTML for use in a web page.&lt;br /&gt;
&lt;br /&gt;
PHP is one of the most popular scripting languages in the Open Source world, which is often used together with [[Apache]] on [[Linux]] or on other paid platforms such as Microsoft [[IIS]] on [[Windows]].&lt;br /&gt;
&lt;br /&gt;
The PHP syntax is very similar to Perl and C. &amp;lt;ref name=&amp;quot;w3&amp;quot;&amp;gt;[http://www.w3schools.com/php/default.asp PHP Tutorial from W3Schools]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
PHP is an ''interpreted language'' (like Perl) and not a ''compiled'' one (like [[Java]] or [[C]]). &lt;br /&gt;
&lt;br /&gt;
==Strings==&lt;br /&gt;
&lt;br /&gt;
Strings can be placed in single quotes or double quotes; this differs from Java, where single quotes are used only to enclose one single character rather than a string.&lt;br /&gt;
&lt;br /&gt;
Important note:&lt;br /&gt;
* single quoted strings don't recognize most special character codes like \n &amp;lt;ref name=&amp;quot;sitepoint&amp;quot;&amp;gt;[http://www.sitepoint.com/article/advanced-email-php/3/ Advanced PHP from Sitepoint]&amp;lt;/ref&amp;gt; and don't expand variables, however they do recognize \' and \\ &amp;lt;ref name=&amp;quot;phpstrings&amp;quot;&amp;gt;PHP: [http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.single Strings]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Concatenation ===&lt;br /&gt;
&lt;br /&gt;
The [[string concatenation]] operator is the period (or full stop). This is a major difference from many other programming languages, which use a plus sign or ampersand.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  $first = &amp;quot;car&amp;quot;;&lt;br /&gt;
  $second = &amp;quot;nation&amp;quot;;&lt;br /&gt;
  $product= $first . $second;&lt;br /&gt;
 &lt;br /&gt;
  // Equivalent to:&lt;br /&gt;
  $product= &amp;quot;carnation&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
PHP recognizes variable names within strings, which are enclosed in double quotes. Since all variables begin with a dollar sign, it is easy to embed one string inside another. This is the preferred way to create HTML output.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
    $first = &amp;quot;John&amp;quot;;&lt;br /&gt;
    $middle = &amp;quot;Quincy&amp;quot;&lt;br /&gt;
    $last = &amp;quot;Adams&amp;quot;;&lt;br /&gt;
    &lt;br /&gt;
    // Show full name, in bold format&lt;br /&gt;
    echo &amp;lt;nowiki&amp;gt;&amp;quot;&amp;lt;B&amp;gt;$first $middle $last&amp;lt;/B&amp;gt;&amp;quot;;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This outputs &amp;lt;nowiki&amp;gt;&amp;quot;&amp;lt;B&amp;gt;John Quincy Adams&amp;lt;/B&amp;gt;&amp;quot;&amp;lt;/nowiki&amp;gt; to the HTML page.&lt;br /&gt;
&lt;br /&gt;
==Databases==&lt;br /&gt;
PHP is compatible with multiple databases, MySQL being the most popular. They go together so well that it's tempting to think of PHP as primarily middleware to link MySQL on the back end to HTML on the front end.&lt;br /&gt;
&lt;br /&gt;
Overall, PHP is compatible with:&lt;br /&gt;
&lt;br /&gt;
*MySQL&lt;br /&gt;
*PostgreSQL&lt;br /&gt;
*MS-SQL 2000&lt;br /&gt;
*Oracle&lt;br /&gt;
*SQLite&lt;br /&gt;
&lt;br /&gt;
and many others.&lt;br /&gt;
&lt;br /&gt;
==Books==&lt;br /&gt;
*''How to Do Everything with PHP &amp;amp; MySQL'', Vikram Vaswani (McGraw-Hill, 2005)&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://php.net PHP.net] - Offical PHP Website.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Embed PHP into HTML]]&lt;br /&gt;
&lt;br /&gt;
[[Category:information technology]]&lt;br /&gt;
[[Category:Scripting Languages]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>HowardS</name></author>
	</entry>
	<entry>
		<id>https://www.conservapedia.com/index.php?title=PHP&amp;diff=1009068</id>
		<title>PHP</title>
		<link rel="alternate" type="text/html" href="https://www.conservapedia.com/index.php?title=PHP&amp;diff=1009068"/>
		<updated>2012-09-25T20:14:00Z</updated>

		<summary type="html">&lt;p&gt;HowardS: /* Strings */  \' and \\ allowed in single quote strings&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''PHP''' is a server-side scripting language for creating interactive [[web page]]s. The acronym ''PHP'' derives from Personal Home Page, but is now defined as &amp;quot;PHP: Hypertext Pre-Processor&amp;quot; (it means &amp;quot;something to handle data before it becomes HTML&amp;quot; &amp;lt;ref&amp;gt;[http://www.htmlite.com/php001.php HTMLite PHP Tutorial]&amp;lt;/ref&amp;gt; ). Unlike [[HTML]], JavaScript and others, PHP is a Server-Side scripting language. It most always is processed into HTML for use in a web page.&lt;br /&gt;
&lt;br /&gt;
PHP is one of the most popular scripting languages in the Open Source world, which is often used together with [[Apache]] on [[Linux]] or on other paid platforms such as Microsoft [[IIS]] on [[Windows]].&lt;br /&gt;
&lt;br /&gt;
The PHP syntax is very similar to Perl and C. &amp;lt;ref name=&amp;quot;w3&amp;quot;&amp;gt;[http://www.w3schools.com/php/default.asp PHP Tutorial from W3Schools]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
PHP is an ''interpreted language'' (like Perl) and not a ''compiled'' one (like [[Java]] or [[C]]). &lt;br /&gt;
&lt;br /&gt;
==Strings==&lt;br /&gt;
&lt;br /&gt;
Strings can be placed in single quotes or double quotes; this differs from Java, where single quotes are used only to enclose one single character rather than a string.&lt;br /&gt;
&lt;br /&gt;
Important note:&lt;br /&gt;
* single quoted strings don't recognize most special character codes like \n &amp;lt;ref name=&amp;quot;sitepoint&amp;quot;&amp;gt;[http://www.sitepoint.com/article/advanced-email-php/3/ Advanced PHP from Sitepoint]&amp;lt;/ref&amp;gt; and don't expand variables, however they do recognize \' and \\&lt;br /&gt;
&lt;br /&gt;
===Concatenation ===&lt;br /&gt;
&lt;br /&gt;
The [[string concatenation]] operator is the period (or full stop). This is a major difference from many other programming languages, which use a plus sign or ampersand.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  $first = &amp;quot;car&amp;quot;;&lt;br /&gt;
  $second = &amp;quot;nation&amp;quot;;&lt;br /&gt;
  $product= $first . $second;&lt;br /&gt;
 &lt;br /&gt;
  // Equivalent to:&lt;br /&gt;
  $product= &amp;quot;carnation&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
PHP recognizes variable names within strings, which are enclosed in double quotes. Since all variables begin with a dollar sign, it is easy to embed one string inside another. This is the preferred way to create HTML output.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
    $first = &amp;quot;John&amp;quot;;&lt;br /&gt;
    $middle = &amp;quot;Quincy&amp;quot;&lt;br /&gt;
    $last = &amp;quot;Adams&amp;quot;;&lt;br /&gt;
    &lt;br /&gt;
    // Show full name, in bold format&lt;br /&gt;
    echo &amp;lt;nowiki&amp;gt;&amp;quot;&amp;lt;B&amp;gt;$first $middle $last&amp;lt;/B&amp;gt;&amp;quot;;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This outputs &amp;lt;nowiki&amp;gt;&amp;quot;&amp;lt;B&amp;gt;John Quincy Adams&amp;lt;/B&amp;gt;&amp;quot;&amp;lt;/nowiki&amp;gt; to the HTML page.&lt;br /&gt;
&lt;br /&gt;
==Databases==&lt;br /&gt;
PHP is compatible with multiple databases, MySQL being the most popular. They go together so well that it's tempting to think of PHP as primarily middleware to link MySQL on the back end to HTML on the front end.&lt;br /&gt;
&lt;br /&gt;
Overall, PHP is compatible with:&lt;br /&gt;
&lt;br /&gt;
*MySQL&lt;br /&gt;
*PostgreSQL&lt;br /&gt;
*MS-SQL 2000&lt;br /&gt;
*Oracle&lt;br /&gt;
*SQLite&lt;br /&gt;
&lt;br /&gt;
and many others.&lt;br /&gt;
&lt;br /&gt;
==Books==&lt;br /&gt;
*''How to Do Everything with PHP &amp;amp; MySQL'', Vikram Vaswani (McGraw-Hill, 2005)&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://php.net PHP.net] - Offical PHP Website.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Embed PHP into HTML]]&lt;br /&gt;
&lt;br /&gt;
[[Category:information technology]]&lt;br /&gt;
[[Category:Scripting Languages]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>HowardS</name></author>
	</entry>
</feed>