<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Marc Fraser &#124; A Blog about all things &#187; begin execute</title>
	<atom:link href="http://www.marcfraser.co.uk/tag/begin-execute/feed" rel="self" type="application/rss+xml" />
	<link>http://www.marcfraser.co.uk</link>
	<description>A blog about all things personal, web related.</description>
	<lastBuildDate>Fri, 23 Apr 2010 13:50:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Create a PHP File and Begin</title>
		<link>http://www.marcfraser.co.uk/create-a-php-file-and-begin-40.htm</link>
		<comments>http://www.marcfraser.co.uk/create-a-php-file-and-begin-40.htm#comments</comments>
		<pubDate>Sat, 10 Oct 2009 10:17:02 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[PHP Tutorials]]></category>
		<category><![CDATA[begin execute]]></category>
		<category><![CDATA[create php file]]></category>
		<category><![CDATA[execute php code]]></category>

		<guid isPermaLink="false">http://marcfraser.co.uk/?p=40</guid>
		<description><![CDATA[(from Full Article)
The first thing that all developers need to do is create a blank PHP page. This can be done by simply opening up Notepad and creating a new file – but instead of saving it with the ‘.txt’ affix, change it to ‘.php’. Alternatively, users that have dedicated editors such as Dreamweaver, etc. [...]]]></description>
			<content:encoded><![CDATA[<p><strong><em><strong><em><a href="http://marcfraser.co.uk/introduction-to-php-tutorial-9.htm">(from Full Article)</a></em></strong></em></strong></p>
<p>The first thing that all developers need to do is create a blank PHP page. This can be done by simply opening up Notepad and creating a new file – but instead of saving it with the ‘.txt’ affix, change it to ‘.php’. Alternatively, users that have dedicated editors such as Dreamweaver, etc. can create a blank PHP page by selecting File menu and create new PHP page.</p>
<p>Now that we have our blank PHP page we can begin.</p>
<p><strong><em>Tell the server we wish to begin execution<br />
</em></strong></p>
<p>We have to tell the server that we wish to execute PHP code, otherwise when the user requests the page, nothing dynamic will happen and instead it will just show our PHP code as plain text.</p>
<p>We use ‘&lt;?php’ to start our PHP code and then  ‘?&gt;’ to end. The ‘&lt;?php’ tells the server that the code we wish to start executing is PHP, and ‘?&gt;’ to end executing our PHP code. Outside of these brackets is where our HTML code should go which should not be dynamically updated, such as our Headers, Footers, etc.</p>
<p>You can use the shorthand PHP beginnings (‘&lt;?’) and endings (‘?&gt;’) but this is not recommended as servers do not always support these.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.marcfraser.co.uk/create-a-php-file-and-begin-40.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
