<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.karljones.com/index.php?action=history&amp;feed=atom&amp;title=PHP_variable</id>
		<title>PHP variable - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.karljones.com/index.php?action=history&amp;feed=atom&amp;title=PHP_variable"/>
		<link rel="alternate" type="text/html" href="http://wiki.karljones.com/index.php?title=PHP_variable&amp;action=history"/>
		<updated>2026-10-23T13:27:41Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>http://wiki.karljones.com/index.php?title=PHP_variable&amp;diff=18605&amp;oldid=prev</id>
		<title>Karl Jones: Created page with &quot;A '''variable''' is a name for a data storage location.  A variable contains a value.  In PHP, variables begin with a dollar sign ('''$''').  Some variables are built into...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.karljones.com/index.php?title=PHP_variable&amp;diff=18605&amp;oldid=prev"/>
				<updated>2016-09-21T01:42:39Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;A &amp;#039;&amp;#039;&amp;#039;variable&amp;#039;&amp;#039;&amp;#039; is a name for a data storage location.  A variable contains a value.  In &lt;a href=&quot;/index.php/PHP&quot; title=&quot;PHP&quot;&gt;PHP&lt;/a&gt;, variables begin with a dollar sign (&amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039;).  Some variables are built into...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A '''variable''' is a name for a data storage location.  A variable contains a value.&lt;br /&gt;
&lt;br /&gt;
In [[PHP]], variables begin with a dollar sign ('''$''').&lt;br /&gt;
&lt;br /&gt;
Some variables are built into PHP.  &lt;br /&gt;
&lt;br /&gt;
Other variables are defined by the programmer.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$msg = &amp;quot;Hello World&amp;quot;;&lt;br /&gt;
echo $msg;&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above example sets the variable named &amp;lt;code&amp;gt;$msg&amp;lt;/code&amp;gt; equal to the value &amp;quot;Hello World&amp;quot;. (The equal sign ('''=''') is the [[PHP assignment operator]].&lt;br /&gt;
&lt;br /&gt;
The [[PHP text generation|echo]] keyword then displays &amp;quot;Hello World&amp;quot; for the user.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[PHP assignment operator]]&lt;br /&gt;
* [[PHP code]]&lt;br /&gt;
* [[PHP code island]]&lt;br /&gt;
* [[PHP text generation]]&lt;br /&gt;
* [[Variable (computer science)]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
* [http://php.net/manual/en/language.variables.php Variables Table of Contents] @ php.net&lt;br /&gt;
* [http://php.net/manual/en/language.variables.basics.php Variables Basics] @ php.net&lt;br /&gt;
* [http://www.w3schools.com/php/php_variables.asp PHP Variables] @ w3schools.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[PHP]]&lt;/div&gt;</summary>
		<author><name>Karl Jones</name></author>	</entry>

	</feed>