<?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>Krio Media &#187; Blog &amp; Tutorials</title>
	<atom:link href="http://www.krio.me/category/development-info/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.krio.me</link>
	<description></description>
	<lastBuildDate>Mon, 05 Jul 2010 06:27:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to use Tor to make a C# HttpWebRequest</title>
		<link>http://www.krio.me/use-tor-to-make-a-c-sharp-httpwebrequest/</link>
		<comments>http://www.krio.me/use-tor-to-make-a-c-sharp-httpwebrequest/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 06:19:18 +0000</pubDate>
		<dc:creator>Kevin Rio</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.krio.me/?p=1226</guid>
		<description><![CDATA[Want to use Tor so that you can make annoymous and secure web requests while coding in C#? Use this easy technique. Typically when making an HttpWebRequest with C# you would write something to this effect: HttpWebRequest request = (HttpWebRequest)WebRequest.Create(&#34;http://yourtargetURL.org&#34;); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); This will work fine, however your connection will not be anonymous. Using [...]]]></description>
			<content:encoded><![CDATA[<p>Want to use Tor so that you can make annoymous and secure web requests while coding in C#? Use this easy technique. <span id="more-1226"></span>Typically when making an HttpWebRequest with C# you would write something to this effect:</p>
<pre class="brush: plain;">
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(&quot;http://yourtargetURL.org&quot;);
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
</pre>
<p>This will work fine, however your connection will not be anonymous. Using Tor, you can effectively create an anonymous connection. First, make sure to install Tor and run it. The typical Tor Windows install will install Privoxy along with Vidalia. To make your C# web request run through Tor, you need to override the default proxy property to contact Prioxy.</p>
<pre class="brush: plain;">
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(&quot;http://yourtargetURL.org&quot;);
request.Proxy = new WebProxy(&quot;127.0.0.1:8118&quot;); // default privoxy port for tor
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
</pre>
<p>127.0.0.1:8118 is the default address for Privoxy. Your HttpWebRequest will now be routed through Tor. Make sure that you do not have any firewalls blocking this default port.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krio.me/use-tor-to-make-a-c-sharp-httpwebrequest/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Loop twice through a PHP / MySQL result set</title>
		<link>http://www.krio.me/loop-twice-through-a-php-mysql-result-set/</link>
		<comments>http://www.krio.me/loop-twice-through-a-php-mysql-result-set/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 22:39:29 +0000</pubDate>
		<dc:creator>Kevin Rio</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP Tutorials]]></category>

		<guid isPermaLink="false">http://www.krio.me/?p=1125</guid>
		<description><![CDATA[I get asked all the time if it is possible to loop multiple times through a MySQL result set in PHP. Here&#8217;s the answer. First, you&#8217;ll need a MySQL result set. To do that you&#8217;ll need to select something from your database and loop through it like so: $result = mysql_query(&#34;SELECT * FROM my_table&#34;); while($row [...]]]></description>
			<content:encoded><![CDATA[<p>I get asked all the time if it is possible to loop multiple times through a MySQL result set in PHP. Here&#8217;s the answer.</p>
<p><span id="more-1125"></span></p>
<p>First, you&#8217;ll need a MySQL result set. To do that you&#8217;ll need to select something from your database and loop through it like so:</p>
<pre class="brush: php;">

$result = mysql_query(&quot;SELECT * FROM my_table&quot;);

while($row = mysql_fetch_assoc($result)) {

// inside the loop

}
</pre>
<p>The problem is, if you want to loop through the same result set again, you will get an error because the internal pointer is currently at the end of the result. You will need to put the pointer back at the beginning of the result set so that you can loop through it again.</p>
<p>You can do it with a helpful php function named mysql_data_seek.</p>
<pre class="brush: php;">

mysql_data_seek($result, 0); // set the pointer of the result set back to the beginning.

while($row2 = mysql_fetch_assoc($result)) {

// inside the loop

}
</pre>
<p>This demonstrates how, as a PHP website developer, you can reset the pointer of a MySQL result set, which will allow you to iterate through the result set for a second time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krio.me/loop-twice-through-a-php-mysql-result-set/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ternary Operators in PHP: Shorthand If Else Statements</title>
		<link>http://www.krio.me/ternary-operators-in-php-shorthand-if-else-statements/</link>
		<comments>http://www.krio.me/ternary-operators-in-php-shorthand-if-else-statements/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 19:08:09 +0000</pubDate>
		<dc:creator>Kevin Rio</dc:creator>
				<category><![CDATA[PHP Tutorials]]></category>

		<guid isPermaLink="false">http://www.krio.me/?p=1106</guid>
		<description><![CDATA[If-Else statements are a vital part of programming, however sometimes all the code that goes into writing are not required, especially if only only simple condition is needed. This is what the ternary operator is used for. The ternary operator is a shorthand if/else statement. It allows developers to form conditions quickly and in a [...]]]></description>
			<content:encoded><![CDATA[<p>If-Else statements are a vital part of programming, however sometimes all the code that goes into writing are not required, especially if only only simple condition is needed. This is what the ternary operator is used for.<span id="more-1106"></span></p>
<p>The ternary operator is a shorthand if/else statement. It allows developers to form conditions quickly and in a very readable fashion.</p>
<h3>Here is the ternary syntax</h3>
<pre class="brush: php;">

(condition) ? true-stuff-here : false-stuff-here;
</pre>
<p>Here is an example of the ternary operator</p>
<pre class="brush: php;">

$age = 20;

$response = ($age &gt; 29) ? 'He's in his thirties' : 'He's not';

echo $response; // He's not
</pre>
<p>I hope you can see the usefulness in the ability for the ternary operator to easily perform conditional comparisons. Please however, refrain from using &#8216;nested ternary comparisons&#8217; as the are very difficult to  so read. It is so frowned upon by web developers that I&#8217;m not even going to post an example.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krio.me/ternary-operators-in-php-shorthand-if-else-statements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sort an Array in PHP by Date</title>
		<link>http://www.krio.me/sort-an-array-in-php-by-date/</link>
		<comments>http://www.krio.me/sort-an-array-in-php-by-date/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 18:45:41 +0000</pubDate>
		<dc:creator>Kevin Rio</dc:creator>
				<category><![CDATA[PHP Tutorials]]></category>

		<guid isPermaLink="false">http://www.krio.me/?p=1104</guid>
		<description><![CDATA[Sorting an array in PHP is not as difficult as many people make it out to be. This quick tutorial will walk you through the steps necessary to sort a date array. Sorting a PHP Array by Date The first step is ensuring that the dates are placed into the array in proper format. When [...]]]></description>
			<content:encoded><![CDATA[<p>Sorting an array in PHP is not as difficult as many people make it out to be. This quick tutorial will walk you through the steps necessary to sort a date array. <span id="more-1104"></span></p>
<h3>Sorting a PHP Array by Date</h3>
<p>The first step is ensuring that the dates are placed into the array in proper format. When you add the date to the array, the best and most compatible way to do do is to run the PHP date function on the date value. This function works no matter what format the date is in, including a MySQL datetime column or a PHP timestamp.</p>
<p>So to enter dates into your array you can do something like:</p>
<pre class="brush: php;">
$dateArray[] = date('Y-m-d');

//If you are iterating through something like a database with date's you could do something like:

$dateArray[] = date('Y-m-d', $row['date']);
</pre>
<h3>One you have your date array set</h3>
<p>All you need to do is run a  sorting function on the array.</p>
<h3>Most recent date first</h3>
<pre class="brush: php;">

rsort($dateArray);
</pre>
<h3>Oldest date first</h3>
<pre class="brush: php;">
sort($dateArray);
</pre>
<p>I hope this quick tutorial will help you in your website development and design endeavors!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krio.me/sort-an-array-in-php-by-date/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Apache rewrite entire domain to a single page</title>
		<link>http://www.krio.me/redirect-everything-domain-server-specific-page-apache-rewrite/</link>
		<comments>http://www.krio.me/redirect-everything-domain-server-specific-page-apache-rewrite/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 19:30:51 +0000</pubDate>
		<dc:creator>Kevin Rio</dc:creator>
				<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://www.krio.me/?p=1094</guid>
		<description><![CDATA[Whenever I need to bring a page down quickly for maintenance I use this Apache Rewrite snippet of code to redirect everything on the server to a specific page that usually holds some kind of maintenance or error message. The Apache Rewrite Code RewriteEngine on RewriteCond %{REQUEST_URI} !/theTempPage.php$ RewriteRule $ /theTempPage.php [R=307,L] First we turn [...]]]></description>
			<content:encoded><![CDATA[<p>Whenever I need to bring a page down quickly for maintenance I use this Apache Rewrite snippet of code to redirect everything on the server to a specific page that usually holds some kind of maintenance or error message. <span id="more-1094"></span></p>
<h3>The Apache Rewrite Code</h3>
<pre class="brush: plain;">

RewriteEngine on

RewriteCond %{REQUEST_URI} !/theTempPage.php$

RewriteRule $ /theTempPage.php [R=307,L]
</pre>
<p>First we turn on the Rewrite engine (depending on your configuration .htaccess file it may already be on, however it won&#8217;t hurt Apache to include this if it is).</p>
<p>We then tell Apache to find pretty much everything after the domain name in a URL that is not equal to the maintenance page (in this case it is theTempPage.php).</p>
<p>If the URL is not equal to the condition, the user is forwarded to the maintenance page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krio.me/redirect-everything-domain-server-specific-page-apache-rewrite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Craigslist Classifieds PHP Clone Script</title>
		<link>http://www.krio.me/craigslist-classifieds-php-clone-script/</link>
		<comments>http://www.krio.me/craigslist-classifieds-php-clone-script/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 15:59:12 +0000</pubDate>
		<dc:creator>Kevin Rio</dc:creator>
				<category><![CDATA[PHP Scripts]]></category>

		<guid isPermaLink="false">http://www.krio.me/?p=993</guid>
		<description><![CDATA[This is a bare-bones classifieds script that will help web developers to quickly build a full-featured Craigslist clone. About This Craigslist Clone This script is a framework that can be used to get your classifieds site up and running quickly. Classifieds Features Users can register / login / logout Users can post a classifieds ad Users can [...]]]></description>
			<content:encoded><![CDATA[<p>This is a bare-bones classifieds script that will help web developers to quickly build a full-featured Craigslist clone. <span id="more-993"></span></p>
<h3>About This Craigslist Clone</h3>
<p>This script is a framework that can be used to get your classifieds site up and running quickly.</p>
<h3>Classifieds Features</h3>
<ul>
<li>Users can register / login / logout</li>
<li>Users can post a classifieds ad</li>
<li>Users can post images</li>
<li>Admin&#8217;s can set categories in database</li>
<li>Admin&#8217;s can set locations in database</li>
<li>Admin&#8217;s can easily skin the script to fit within their already running sites / templates</li>
<li>This script is completely free for website developers to use in any of your personal or commercial scripts and websites.</li>
<li>The entire script is organized into an easy to understand filesystem with easily to use classes and methods.</li>
</ul>
<h3>What you can use this classifieds script for</h3>
<p>To best use this script, you are going to need to integrate it into your own website design. You should have some knowledge of HTML/CSS to do this. You don&#8217;t need any knowledge of PHP, just copy the the text between the php tags inside of your HTML.</p>
<h3>Usage</h3>
<ul>
<li>Install the classifieds.sql file into your database (via phpMyAdmin or something similar)</li>
<li>Open Db.php and input your database credentials</li>
<li>Open URLs.php and in put the location where you installed the classifieds script</li>
<li>Start skinning and using the script!</li>
</ul>
<p><a title="Classifieds Craigslist Clone Script" href="http://www.krio.me/files/classifieds.zip"><img title="Download File" src="http://www.krio.me/wp-content/themes/krio/img/downloadnow.png" alt="" width="185" height="62" /></a></p>
<p>Feel free to <a title="Contact Krio Media" href="http://www.krio.me/contact/">contact me</a> if you would like me to extend the features or customize this script for you on a contract basis. I&#8217;m a local Miami Website Designer and Developer that has worked on  an array of different types of web development projects.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krio.me/craigslist-classifieds-php-clone-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Check If A Number Is Between Two Values Tutorial</title>
		<link>http://www.krio.me/how-to-check-if-a-number-is-between-two-values-tutorial/</link>
		<comments>http://www.krio.me/how-to-check-if-a-number-is-between-two-values-tutorial/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 04:43:31 +0000</pubDate>
		<dc:creator>Kevin Rio</dc:creator>
				<category><![CDATA[PHP Tutorials]]></category>

		<guid isPermaLink="false">http://www.krio.me/?p=1051</guid>
		<description><![CDATA[This tutorial will show you how to build a function that will validate if a number falls between a specific range of values. To use this function, provide a maximum and a minimum number, along with the number that will be checked. Website developers can use this to validate ages etc&#8230; The function to check [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial will show you how to build a function that will validate if a number falls between a specific range of values. <span id="more-1051"></span>To use this function, provide a maximum and a minimum number, along with the number that will be checked. Website developers can use this to validate ages etc&#8230;</p>
<h3>The function to check if value is within a two number range</h3>
<pre class="brush: php;">
function numberBetween($numToCheck, $high, $low) {
if($numToCheck &lt;= $low) return false;
if($numToCheck &gt;= $high) return false;
return true;
}
</pre>
<h3>How to call the function</h3>
<pre class="brush: php;">

if (numberBetween(35, 100, 20)) {

echo 'The value is in the range!';

} else {

echo 'The value is outside the range!';

}
</pre>
<p>In this example, the value returned would be true because 35 is between 100 and 20.</p>
<p>I hope this data validation function will help you in your website development endeavors. It should simplify your development of a function that checks to see if a number (integer) falls between two values (range of numbers).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krio.me/how-to-check-if-a-number-is-between-two-values-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Validate A URL in PHP Tutorial</title>
		<link>http://www.krio.me/how-to-validate-a-url-php/</link>
		<comments>http://www.krio.me/how-to-validate-a-url-php/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 04:35:32 +0000</pubDate>
		<dc:creator>Kevin Rio</dc:creator>
				<category><![CDATA[PHP Tutorials]]></category>

		<guid isPermaLink="false">http://www.krio.me/?p=1035</guid>
		<description><![CDATA[This tutorial will teach you how to build a function that can be used by PHP developers to validate a URL data-type. All you need to do is pass in variable data to the function and it will return true if it is a proper URL or false if it is not. Use this to [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial will teach you how to build a function that can be used by PHP developers to validate a URL data-type.<br />
<span id="more-1035"></span><br />
All you need to do is pass in variable data to the function and it will return true if it is a proper URL or false if it is not. Use this to easily check is a variable is a properly formed URL. It uses a regular expression (regex) to validate the URL.</p>
<h3>The URL Data Validation Function</h3>
<pre class="brush: php;">

function validateURL($URL) {
return (bool)preg_match(&quot;/^(http|https|ftp):\/\/([A-Z0-9][A-Z0-9_-]*(?:\.[A-Z0-9][A-Z0-9_-]*)+):?(\d+)?\/?/i&quot;, $URL);
}
</pre>
<h3>How To Call The Function</h3>
<pre class="brush: php;">

if (validateURL('http://www.krio.me') {

// If URL is valid, do something here

}
</pre>
<p>Use this in all of your PHP scripts to ensure that input provided by users for URL&#8217;s is of a valid data type. Need a website developer to help you out? <a title="Miami Website Designer" href="http://www.krio.me/contact/">Contact me</a> if you need some help. I&#8217;m a web developer and designer local to Miami, Florida.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krio.me/how-to-validate-a-url-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>.NET &amp; C# Website Scraper</title>
		<link>http://www.krio.me/dot-net-c-sharp-web-scraper/</link>
		<comments>http://www.krio.me/dot-net-c-sharp-web-scraper/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 01:14:43 +0000</pubDate>
		<dc:creator>Kevin Rio</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://www.krio.me/?p=989</guid>
		<description><![CDATA[This is a website scraper implemented in C# and .NET that uses regular expressions (regex) to scrape only the text directly related to the website content. This website scraper was developed by Kevin Rio, a Miami Website Developer,  for the purpose of collecting information and content from affiliate sites, such as E-Commerce applications that do [...]]]></description>
			<content:encoded><![CDATA[<p>This is a website scraper implemented in C# and .NET that uses regular expressions (regex) to scrape only the text directly related to the website content.<span id="more-989"></span></p>
<p>This website scraper was developed by Kevin Rio, a Miami Website Developer,  for the purpose of collecting information and content from affiliate sites, such as E-Commerce applications that do not provide an API or an externally available database. It is also useful for SEO professionals to evaluate competitor websites.</p>
<p>This is a completely free website scraper that can be used in any commercial or private applications.</p>
<p><strong>What This Website Scraper Does</strong></p>
<p>This web scraper collects a website address as input from the user and retrieves all of the HTML code from that site. It then filters all of the HTML and JavaScript code using regular expressions and leaves only the website&#8217;s text for the user to explore. It provides the text in an easy to copy text area and a variable that is easy to manipulate and extend in your own scripts.</p>
<p>The download provides all of the files including the Visual Studio solution file.</p>
<p><a title="C# .NET Web Scraper" href="http://www.krio.me/files/KrioWebScraper.zip"><img title="Download File" src="http://www.krio.me/wp-content/themes/krio/img/downloadnow.png" alt="" width="185" height="62" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.krio.me/dot-net-c-sharp-web-scraper/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to add data to an XML file in PHP</title>
		<link>http://www.krio.me/how-to-add-data-to-an-xml-file-in-php/</link>
		<comments>http://www.krio.me/how-to-add-data-to-an-xml-file-in-php/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 15:55:52 +0000</pubDate>
		<dc:creator>Kevin Rio</dc:creator>
				<category><![CDATA[PHP Tutorials]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.krio.me/?p=974</guid>
		<description><![CDATA[Manipulating XML files is not something all developers deal with on a daily basis, but it is something that must be done. This series of posts will each showcase the most popular XML manipulation techniques that a developer should know. In this entry you will learn how to add elements and text to an XML [...]]]></description>
			<content:encoded><![CDATA[<p>Manipulating XML files is not something all developers deal with on a daily basis, but it is something that must be done. This series of posts will each showcase the most popular XML manipulation techniques that a developer should know. In this entry you will learn how to add elements and text to an XML file from PHP.<span id="more-974"></span></p>
<h3>Our XML File</h3>
<p>Here is our XML file.</p>
<p>We are going to insert a new &lt;Link&gt; child element that holds sibling elements &lt;title&gt; and &lt;url&gt;.</p>
<pre class="brush: xml;">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;
&lt;MyLinksCentral&gt;
    &lt;Links&gt;
        &lt;Link&gt;
            &lt;title&gt;Krio Media&lt;/title&gt;
            &lt;url&gt;http://www.krio.me&lt;/url&gt;
        &lt;/Link&gt;
        &lt;Link&gt;
            &lt;title&gt;SEO Miami&lt;/title&gt;
            &lt;url&gt;http://www.mercadeoporinternet.com/&lt;/url&gt;
        &lt;/Link&gt;
    &lt;/Links&gt;
&lt;/MyLinksCentral&gt;
</pre>
<h3>How To Add The XML Elements</h3>
<p>And here is how we add the new elemnts to the document</p>
<pre class="brush: xml;">
  $xdoc = new DomDocument;
  $xdoc-&gt;Load('MyLinksCentral.xml');

        $links = $xdoc-&gt;getElementsByTagName('Links')-&gt;item(0);
        $newLinkElement = $xdoc -&gt;createElement('Link');
        $newTitleElement = $xdoc -&gt;createElement('title');
        $newURLElement = $xdoc -&gt;createElement('url');

        $urlNode = $xdoc -&gt;createTextNode ('Google');
        $titleNode = $xdoc -&gt;createTextNode ('http://www.google.com');

        $newTitleElement -&gt; appendChild($titleNode);
        $newURLElement -&gt; appendChild($urlNode);

        $newLinkElement -&gt; appendChild($newTitleElement);
        $newLinkElement -&gt; appendChild($newURLElement);

        $links -&gt; appendChild($newLinkElement);

$xdoc-&gt;save('MyLinksCentral.xml');
</pre>
<h3>Step-By-Step Analysis Of The XML</h3>
<p>Load &#8211; We load the XML file.</p>
<p>getElementsByTagName &#8211; We get the Links element, which holds all of our links.</p>
<p>createElement &#8211; We create the elements that we will be inserting into our XML file and save them into a variable.</p>
<p>createTextNode &#8211; We place the values of the elements into variables. In this case it is the URL and Title we want. We we will inserting Google as the Title and http://google.com as the URL.</p>
<p>appendChild &#8211; We put the text we just created into the actual elements &lt;title&gt; and &lt;url&gt;.</p>
<p>appendChild &#8211; The next set of appendChild&#8217;s are to place the complete &lt;title&gt; and &lt;url&gt; tags inside of our &lt;Link&gt; element.</p>
<p>The final appendChild is to insert the final &lt;Link&gt; tag into the &lt;Links&gt; element of the XML file to be saved.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krio.me/how-to-add-data-to-an-xml-file-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
