<?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>Vision Master Designs &#187; PHP &amp; MySQL</title>
	<atom:link href="http://visionmasterdesigns.com/category/wp/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://visionmasterdesigns.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 29 Oct 2009 20:00:15 +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>Tutorial : Installing Apache 2.2.11, PHP 5.3, MySQL 5.1.34 &amp; PhpMyAdmin 3.1.4 in Windows Vista/XP</title>
		<link>http://visionmasterdesigns.com/tutorial-installing-apache-php-5-mysql-5-phpmyadmin-windows-vista-xp/</link>
		<comments>http://visionmasterdesigns.com/tutorial-installing-apache-php-5-mysql-5-phpmyadmin-windows-vista-xp/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 19:04:26 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[PHP & MySQL]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[PhpMyAdmin]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://blog.visionmasterdesigns.com/?p=7</guid>
		<description><![CDATA[Learn to install Apache, PHP 5, MySQL 5 and PhpMyAdmin 2.11.x step by step. It has been rated as the best article :).]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin: 0 0 0.6em 0.6em;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fvisionmasterdesigns.com%2Ftutorial-installing-apache-php-5-mysql-5-phpmyadmin-windows-vista-xp%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fvisionmasterdesigns.com%2Ftutorial-installing-apache-php-5-mysql-5-phpmyadmin-windows-vista-xp%2F&amp;source=rowoot&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<blockquote><p>
The most recent version of this tutorial has been completely re-written at <a href="http://webdevcodex.com">WebDev Codex</a>.</p>
<p>Learn how to Install <strong>PHP 5.3</strong>,</p>
<p>To view the latest version, Goto <a title="Screencast #1 : Installing Apache 2.2, PHP 5.3, MySQL 5.1 &amp; PHPMyAdmin 3.2 for Windows 7/Vista" href="http://webdevcodex.com/screencast-installing-apache-2-2-php-5-3-mysql-5-1-phpmyadmin-3-2-for-windows-7vista/">Screencast #1 : Installing Apache 2.2, PHP 5.3, MySQL 5.1 &#038; PHPMyAdmin 3.2 for Windows 7/Vista</a></p>
<p>If you want to see the screencast of this tutorial, then goto<br />
<a title="Screencast #1 : Installing Apache 2.2, PHP 5.3, MySQL 5.1 &amp; PHPMyAdmin 3.2 for Windows 7/Vista" href="http://webdevcodex.com/screencast-installing-apache-2-2-php-5-3-mysql-5-1-phpmyadmin-3-2-for-windows-7vista/">Screencast #1 : Installing Apache 2.2, PHP 5.3, MySQL 5.1 &#038; PHPMyAdmin 3.2 for Windows 7/Vista</a>
</p></blockquote>
<p>Not everyone would spend money online to buy webspace just so that they can test out how their latest application works, Well&#8230; Welcome to Vision Master Designs Blog. This tutorial will teach you to set up a developer environment for PHP/MySQL in your computer in no time.</p>
<p>Index :</p>
<ul>
<li>Page 1 : <a title="Introduction" href="http://visionmasterdesigns.com/tutorial-installing-apache-php-5-mysql-5-phpmyadmin-windows-vista-xp/">Introduction</a></li>
<li>Page 2 : <a title="Create Directories &amp; Install Apache" href="http://visionmasterdesigns.com/tutorial-installing-apache-php-5-mysql-5-phpmyadmin-windows-vista-xp/2/">Create Directories &amp; Install Apache</a></li>
<li>Page 3 : <a title="Install PHP5 &amp; Configure php.ini" href="http://visionmasterdesigns.com/tutorial-installing-apache-php-5-mysql-5-phpmyadmin-windows-vista-xp/3/">Install PHP5 &amp; Configure php.ini</a></li>
<li>Page 4 : <a href="http://visionmasterdesigns.com/tutorial-installing-apache-php-5-mysql-5-phpmyadmin-windows-vista-xp/4/">Configure Apache 2.2</a></li>
<li>Page 5 : <a href="http://visionmasterdesigns.com/tutorial-installing-apache-php-5-mysql-5-phpmyadmin-windows-vista-xp/5/">Installing &amp; Configuring MySQL5</a></li>
<li>Page 6 : <a href="http://visionmasterdesigns.com/tutorial-installing-apache-php-5-mysql-5-phpmyadmin-windows-vista-xp/6/">Installing &amp; Configuring PhpMyAdmin</a></li>
</ul>
<p><span id="more-7"></span></p>
<p>If you are aware of the basics then <a href="#down">Click Here</a> to jump below, else read on.</p>
<p>Normally we can view HTML pages on our computer without the need of uploading them to the server, since HTML is a Client Side Language. You don`t need any extra software to view html files, just any browser will do the trick.<br />
But if you want to make your pages dynamic using any Server Side Language (PHP,ASP,JSP) &amp; want to the see the results then you must upload the file to the webserver which supports that language so it can execute the file &amp; return the results on your browser</p>
<p>We can set up a developers environment from which you can create and execute PHP/MySQL scripts by installing the above mentioned applications.</p>
<p><a id="down" name="down">Now, The Pre-Requisites :</a></p>
<ol>
<li><strong>Apache HTTP Server</strong> (2.2.11): The best open source webserver. You need this to turn your humble computer to a powerful webserver to execute your applications.<br />
Direct Download <a title="apache_2.2.11-win32-x86-no_ssl.msi" href="http://www.eng.lsu.edu/mirrors/apache/httpd/binaries/win32/apache_2.2.11-win32-x86-no_ssl.msi">apache_2.2.11-win32-x86-no_ssl-r2.msi</a><br />
<a href="http://httpd.apache.org/download.cgi">Apache Download Page</a> &#8211; Please Download the Win32 Binary without crypto (no mod_ssl) (MSI Installer) &#8211; apache_2.2.11-win32-x86-no_ssl.msi~ 4.3MB</li>
<li><strong>PHP </strong>(5.2.9)<strong> : </strong>One of the most powerful web programming languages.<br />
Direct Download <a href="http://www.php.net/get/php-5.2.9-2-Win32.zip/from/a/mirror" target="_blank">PHP 5.2.9 -2 zip package</a><br />
<a href="http://www.php.net/downloads.php">PHP Download Page</a> &#8211; Download the PHP 5.2.9 &#8211; 2 Zip package ~ 10MB</li>
<li><strong>MySQL</strong> (5.1.34) : One of the best DBMS packages which is free.<br />
The latest version is <strong>5.1.34</strong> which is stable and used in production servers. Although MySQL 5.1 and MySQL 6 are also available as beta releases, they are not used in production servers as of now.<br />
<a href="http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-essential-5.1.34-win32.msi/from/pick" target="_blank">MySQL Download Page</a> &#8211; Please download Windows ZIP/Setup.EXE (x86) 5.1.34 ~ 35.2MB</li>
<li><strong>PhpMyAdmin</strong> (<span class="version">3.1.4</span>) : Used to manage your MySQL databases directly using your web browser.<br />
Direct Download <a href="http://prdownloads.sourceforge.net/phpmyadmin/phpMyAdmin-3.1.4-english.zip#!md5!ec09a86b298c118b528d5d9936aa951a" target="_blank">phpMyAdmin-<span class="version">3.1.4</span>-all-languages.zip</a><br />
<a href="http://www.phpmyadmin.net/home_page/downloads.php">PHPMyAdmin Download Page</a> &#8211; Please download the latest release from the 3.x rooster.</li>
</ol>
<p>The above downloads are compatible with Windows Vista/Vista SP1 (32 bit OS).</p>
]]></content:encoded>
			<wfw:commentRss>http://visionmasterdesigns.com/tutorial-installing-apache-php-5-mysql-5-phpmyadmin-windows-vista-xp/feed/</wfw:commentRss>
		<slash:comments>548</slash:comments>
		</item>
		<item>
		<title>Tutorial : Convert Text into transparent PNG Image using PHP</title>
		<link>http://visionmasterdesigns.com/tutorial-convert-text-into-transparent-png-image-using-php/</link>
		<comments>http://visionmasterdesigns.com/tutorial-convert-text-into-transparent-png-image-using-php/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 19:39:35 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[PHP & MySQL]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[language php]]></category>

		<guid isPermaLink="false">http://www.visionmasterdesigns.com/?p=957</guid>
		<description><![CDATA[
			
				
			
		
This tutorial will help you write text on a background and output as an image using the power of PHP. This is useful during those scenarios when you want to display text using a particular font (which isn`t web friendly i.e the text won`t be displayed with the same font in other&#8217;s computer). I have [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin: 0 0 0.6em 0.6em;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fvisionmasterdesigns.com%2Ftutorial-convert-text-into-transparent-png-image-using-php%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fvisionmasterdesigns.com%2Ftutorial-convert-text-into-transparent-png-image-using-php%2F&amp;source=rowoot&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>This tutorial will help you write text on a background and output as an image using the power of PHP. This is useful during those scenarios when you want to display text using a particular font (which isn`t web friendly i.e the text won`t be displayed with the same font in other&#8217;s computer). I have used this technique to display the number of RSS subscribers (top-right). So its pretty simple and very basic.</p>
<p>Click <a href="http://visionmasterdesigns.com/demo/image/imagegenerate.html">Here</a> for a Demo.</p>
<p align="center">
<img src="http://visionmasterdesigns.com/demo/image/image.php?text=Dynamic PNG Generation" alt="Transparent PNG text" />
</p>
<p><span id="more-957"></span></p>
<h4>STEP 1 : Create PHP file and Define Headers</h4>
<p>First we create a PHP file. Lets call it myimage.php. Now we don`t want the browser to understand myimage.php as an image since we`ll be generating the image using this file. So we need to define the headers in this file which will tell the browser that it is an image.</p>
<pre class="brush: php">
&lt;?php
//HEADERS
header(&quot;Content-type: image/png&quot;); //Picture Format
header(&quot;Expires: Mon, 01 Jul 2003 00:00:00 GMT&quot;); // Past date
header(&quot;Last-Modified: &quot; . gmdate(&quot;D, d M Y H:i:s&quot;) . &quot; GMT&quot;); // Consitnuously modified
header(&quot;Cache-Control: no-cache, must-revalidate&quot;); // HTTP/1.1
header(&quot;Pragma: no-cache&quot;); // NO CACHE

//image generation code

?&gt;
</pre>
<h4>STEP 2 : The entire code !</h4>
<p>The entire code is here, the comments should help tell what each function is doing.</p>
<pre class="brush: php">
&lt;?php

header(&quot;Content-type: image/png&quot;); //Picture Format
header(&quot;Expires: Mon, 01 Jul 2003 00:00:00 GMT&quot;); // Past date
header(&quot;Last-Modified: &quot; . gmdate(&quot;D, d M Y H:i:s&quot;) . &quot; GMT&quot;); // Consitnuously modified
header(&quot;Cache-Control: no-cache, must-revalidate&quot;); // HTTP/1.1
header(&quot;Pragma: no-cache&quot;); // NO CACHE

/*image generation code*/
//create Image of size 350px x 75px
$bg = imagecreatetruecolor(350, 75);

//This will make it transparent
imagesavealpha($bg, true);

$trans_colour = imagecolorallocatealpha($bg, 0, 0, 0, 127);
imagefill($bg, 0, 0, $trans_colour);

//Text to be written
$helloworld = isset($_GET[&#039;text&#039;]) ? $_GET[&#039;text&#039;] : &quot;hello World&quot;;

// White text
$white = imagecolorallocate($bg, 255, 255, 255);
// Grey Text
$grey = imagecolorallocate($bg, 128, 128, 128);
// Black Text
$black = imagecolorallocate($bg, 0,0,0);

$font = &#039;arial.ttf&#039;; //path to font you want to use
$fontsize = 20; //size of font

//Writes text to the image using fonts using FreeType 2
imagettftext($bg, $fontsize, 0, 20, 20, $grey, $font, $helloworld);

//Create image
imagepng($bg);

//destroy image
ImageDestroy($bg);
?&gt;
</pre>
<p>Well thats the source code if you want to generate alpha png images using PHP. Its pretty simple. This isn`t that tough, but there might be some people new to PHP who might want to know.</p>
]]></content:encoded>
			<wfw:commentRss>http://visionmasterdesigns.com/tutorial-convert-text-into-transparent-png-image-using-php/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Tutorial : Display no.of RSS Readers using Feedburner API and PHP (curl)</title>
		<link>http://visionmasterdesigns.com/tutoral-display-noof-rss-readers-using-feedburner-api-and-php-curl/</link>
		<comments>http://visionmasterdesigns.com/tutoral-display-noof-rss-readers-using-feedburner-api-and-php-curl/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 18:54:06 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[PHP & MySQL]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[CURL]]></category>
		<category><![CDATA[Feedburner]]></category>

		<guid isPermaLink="false">http://www.visionmasterdesigns.com/?p=932</guid>
		<description><![CDATA[
			
				
			
		
Most of you who have blogs/website might be aware of FeedBurner. Its a service which provides custom RSS Management tools like Analysing Web-Traffic, the number of readers subscribed to you blog etc. I too use Feedburner to help me keep track of my feeds and its readers. Although I love their service, I always found [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin: 0 0 0.6em 0.6em;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fvisionmasterdesigns.com%2Ftutoral-display-noof-rss-readers-using-feedburner-api-and-php-curl%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fvisionmasterdesigns.com%2Ftutoral-display-noof-rss-readers-using-feedburner-api-and-php-curl%2F&amp;source=rowoot&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Most of you who have blogs/website might be aware of FeedBurner. Its a service which provides custom RSS Management tools like Analysing Web-Traffic, the number of readers subscribed to you blog etc. I too use Feedburner to help me keep track of my feeds and its readers. Although I love their service, I always found the FeedBurner Chicklet (It displays the number of readers subscribed to your RSS) to be a constraint, it isn`t that flexible i.e We can modify the color of the chicklet but not the chicklet it self. So I decided to create my own Chicklet to help me display the number of readers subscribed to my blog. (Although the number isn`t that big <img src='http://visionmasterdesigns.com/wordpress/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> )<br />
<span id="more-932"></span></p>
<h4>It Starts ! Feedburner API</h4>
<p>Hmm..so where did I start&#8230;. Ahh ! The Feedburner API ofcourse. I wanted to know how to retrieve the number of Readers of a particular RSS feed as simple text.<br />
<a href="http://code.google.com/apis/feedburner/awareness_api.html" target="_blank">http://code.google.com/apis/feedburner/awareness_api.html</a> had the answer to my problem !</p>
<blockquote><p>Current Basic Feed Awareness Data<br />
<code>https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=&lt;feeduri&gt;</code></p>
<p>where &lt;feeduri&gt; = your feedname i.e <strong>vmdtuts</strong> in my case</p>
<p>Sample Response<br />
<strong>circulation</strong> &#8211; An approximate measure of the number of individuals for whom your feed has been requested in the 24 hour period described by date.</p></blockquote>
<p>Thats what I was looking for !!. Now Since I have a way to access information about my RSS feeds, I had to think of a method to request the API url and retrieve the result using PHP (ofcourse).<br />
<strong>Note :</strong> If you try to access the above URL with your feed address, you`ll see an XML output with all the relevant details about your feed !.</p>
<h4>Thank You CURL &#8211; Here is the Code</h4>
<p>We`ll use CURL to make a request to the above URL and retrieve the XML output.</p>
<pre class="brush: php">
$my_feed_url = &quot;https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=yourfeedurl&quot;; // yourfeedurl = vmdtuts in my case

$s_ch = curl_init(); //Initialize Curl
curl_setopt($s_ch, CURLOPT_RETURNTRANSFER, 1);//Set curl to return the data instead of printing it to the browser.
curl_setopt($s_ch, CURLOPT_URL, $my_feed_url); //Set the URL
$data = curl_exec($s_ch); //Execute the fetch
curl_close($s_ch); //Close the connection
$xml = new SimpleXMLElement($data);
$no_of_readers = $xml-&gt;feed-&gt;entry[&#039;circulation&#039;];

echo $no_of_readers.&quot;Readers&quot;; //Will display no of Readers
</pre>
<p>Voila There you have it. A Simple method to retrieve the number of readers who have subscribed to your RSS.</p>
<p><strong>Tip</strong> : If you want to display the number of Readers in your Wordpress Blog. Just open up sidebar.php and insert the code anywhere where you want to display the number of readers.</p>
]]></content:encoded>
			<wfw:commentRss>http://visionmasterdesigns.com/tutoral-display-noof-rss-readers-using-feedburner-api-and-php-curl/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Tutorial : Creating &#8220;Pretty SEO URLS&#8221; using Apache&#8217;s mod_rewrite</title>
		<link>http://visionmasterdesigns.com/tutorial-creating-pretty-seo-url-using-apache-mod-rewrite/</link>
		<comments>http://visionmasterdesigns.com/tutorial-creating-pretty-seo-url-using-apache-mod-rewrite/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 09:11:30 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[PHP & MySQL]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Website Optimization]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[mod_rewrite]]></category>

		<guid isPermaLink="false">http://www.visionmasterdesigns.com/?p=323</guid>
		<description><![CDATA[
			
				
			
		
Imagine this, You have a dynamic site powered by PHP/MySQL, its doing ok, you have submitted your website URL to all the known search engines, but still your site doesn&#8217;t seem to get much traffic from the search engines&#8230;ever wondered why ?
Well firstly, search engines have billions of pages to search. Imagine your link to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin: 0 0 0.6em 0.6em;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fvisionmasterdesigns.com%2Ftutorial-creating-pretty-seo-url-using-apache-mod-rewrite%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fvisionmasterdesigns.com%2Ftutorial-creating-pretty-seo-url-using-apache-mod-rewrite%2F&amp;source=rowoot&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Imagine this, You have a dynamic site powered by PHP/MySQL, its doing ok, you have submitted your website URL to all the known search engines, but still your site doesn&#8217;t seem to get much traffic from the search engines&#8230;ever wondered why ?</p>
<p>Well firstly, search engines have billions of pages to search. Imagine your link to be something like <span class="code">www.yourdomain.com/index.php?page=aboutme</span>, its tough for any search engine to comprehend any keywords from the link.<br />
But how about <span class="code">www.yourdomain.com/page/about-me.html</span> ? These links are static Links, SEO Friendly Links, &#8220;Pretty Links&#8221;.</p>
<p>So today we are going to learn how to convert your ugly links into pretty links.</p>
<h4>Index</h4>
<ol>
<li>Step 1 : Enable mod_rewrite in httpd.conf</li>
<li>Step 2 : Create A Simple PHP file</li>
<li>Step 3 : .htaccess file<br />
Method 1 &#8211; For only a single Variable<br />
Method 2 &#8211; For 1 and more than 1 Variable(s)
</li>
<li>Conclusion</li>
</ol>
<p>Ugly URLs<br />
<a href="http://www.visionmasterdesigns.com/demo/seo/test.php?page=page1" target="_blank">http://www.visionmasterdesigns.com/demo/seo/test.php?page=page1</a><br />
<a href="http://www.visionmasterdesigns.com/demo/seo/test.php?page=page1&amp;var=foo" target="_blank">http://www.visionmasterdesigns.com/demo/seo/test.php?page=page1&amp;var=foo </a></p>
<p>Pretty URLs<br />
<a href="http://www.visionmasterdesigns.com/demo/seo/page1.html" target="_blank">http://www.visionmasterdesigns.com/demo/seo/page1.html</a><br />
<a href="http://www.visionmasterdesigns.com/demo/seo/page1/foo.html" target="_blank">http://www.visionmasterdesigns.com/demo/seo/page1/foo.html</a></p>
<p>Click <a href="http://www.visionmasterdesigns.com/demo/seo/seo.zip">Here</a> to download the script files.<br />
<span id="more-323"></span></p>
<h2 align="center">Step 1 : Enable mod_rewrite in httpd.conf</h2>
<p>Normally webservers already have mod_rewrite enabled. If it is not enabled, then you can request your host to enable it.</p>
<p>If you are going to try this tutorial in your local machine. Do check whether <span class="code">mod_rewrite</span> module has been enabled in Apache. Do the following.</p>
<ol>
<li>Navigate to your apache folder and open httpd.conf</li>
<li>Search for
<pre lang="apache">#LoadModule rewrite_module modules/mod_rewrite.so</pre>
</li>
<li>Remove the commenting character i.e #, then save the file.</li>
<li>Restart the Server</li>
</ol>
<h4>About the .htaccess file</h4>
<p>You must have seen or heard about <span class="code">.htaccess</span> file somewhere.</p>
<p><strong>Quote from wikipedia :</strong><br />
In the Apache web server, .htaccess (hypertext access) is the default name of directory-level configuration files. A .htaccess file is placed in a particular directory, and the directives in the .htaccess file apply to that directory, and all subdirectories thereof. It provides the ability to customize configuration for requests to the particular directory.</p>
<p>Normally the .htaccess file must be present in the directory where your script is stored.<br />
For Example : If my script is<br />
<span class="code">myserver.dev/prettyurl/test.php</span><br />
 then my <span class="code">.htaccess</span> file will be saved in<br />
  <span class="code">C:\server\www\myserver.dev\public_html\prettyurl\.htaccess</span>  <b>*</b></p>
<p>*This is applicable if you have followed &#8211;<br />
<a href="http://www.visionmasterdesigns.com/2008/07/tutorial-installing-apache-php-5-mysql-5-phpmyadmin-windows-vista-xp/">Tutorial : Installing Apache, PHP 5, MySQL 5 &#038; PhpMyAdmin 2.11 in Windows Vista/XP</a></p>
<h2 align="center">Step 2 : Create A Simple PHP file</h2>
<p>Lets create a simple PHP file. PHP allows us to retrieve values from the URL iself using $_GET function.</p>
<p>For Example :<br />
<span class="code">http://myserver.dev/prettyurl/test.php?page=mypagename</span>.<br />
$_GET['page'] would give the value of page in the above url.</p>
<p><span class="code">http://myserver.dev/prettyurl/test.php?page=mypagename&#038;var=secondvar</span>.<br />
We can have retrieve quite a lot of data from the URLs by using multiple $_GET functions. In the above URL we can have $_GET['page'] and $_GET['var']</p>
<pre class="brush: php">
&lt;?php

//test.php
//storing the retrieved val from URL into a variable
$p = $_GET[&#039;page&#039;];
$q = $_GET[&#039;var&#039;];

switch($p) {
    case &#039;page1&#039;:
    // if $p = page1 i.e url was something like test.php?page=page1
  		switch($q) {
		case &#039;boo&#039;:
		//if $p=boo then url is somehting like test.php?page=page1&amp;amp;amp;var=boo
		echo &quot;&lt;h2&gt;This is page1 And BOO&lt;/h2&gt;&lt;br /&gt;&quot;;
		break;
		case &#039;foo&#039;:
		echo &quot;&lt;h2&gt;This is page1 And FOO&lt;/h2&gt;&lt;br /&gt;&quot;;
		break;
		default:
		// if $p = page1 i.e url was something like test.php?page=page1
		echo &quot;&lt;h2&gt;This is page1&lt;/h2&gt;&quot;;
		break;
		}
    break;
    case &#039;page2&#039;:
    // if $p = page2 i.e url was something like test.php?page=page2
    echo &quot;&lt;h2&gt;This is page2&lt;/h2&gt;&quot;;
    break;
    case &#039;page3&#039;:
    // if $p = page3 i.e url was something like test.php?page=page3
    echo &quot;&lt;h2&gt;This is page3&lt;/h2&gt;&quot;;
    break;
    case &#039;page4&#039;:
    // if $p = page4 i.e url was something like test.php?page=page4
    echo &quot;&lt;h2&gt;This is page4&lt;/h2&gt;&quot;;
    break;
    default:
    // if page != any of the above, then default is executed
    echo &quot;&lt;h2&gt;This is the Default Page&lt;/h2&gt;&quot;;
	break;
}
?&gt;
</pre>
<p>Save the file as <span class="code">test.php</span>.</p>
<p>Test out the script, if we access<br />
<a href="http://myserver.dev/prettyurl/test.php?page=page1">http://myserver.dev/prettyurl/test.php?page=page1</a><br />
the result will be &#8216;This is page1&#8242;.<br />
Similarly <a href="http://myserver.dev/prettyurl/test.php?page=page2">http://myserver.dev/prettyurl/test.php?page=page2</a><br />
will show the output &#8216;This is page2&#8242; and so on.</p>
<p>If we access<br />
<a href="http://myserver.dev/prettyurl/test.php?page=page1&#038;var=foo">http://myserver.dev/prettyurl/test.php?page=page1&#038;var=foo </a><br />
the output will be &#8216;This is page1 And foo&#8217;</p>
<p>This sample code in PHP is to just show you how a general linking system works. It shows how $_GET works and how we can add data in the URL&#8217;s using &#8216;&#038;&#8217; operator.</p>
<h2 align="center">Step 3 : .htaccess file</h2>
<p>There are different methods to create &#8220;Pretty URLS&#8221;. I`ll just discuss the most common and the most optimized ones.</p>
<p>Ok ! Firstly our local server won`t have a .htaccess file, so we will have to create one. Fire up notepad, then type the following code.<br />
Save the file as <span class="code">.htaccess</span>. Place it in the directory where you have saved your <span class="code">test.php</span> script.</p>
<h4>Method 1 &#8211; For only a single Variable</h4>
<p>Consider our dynamic URL to be<br />
<span class="code">http://myserver.dev/prettyurl/test.php?page=page2</span><br />
and we want our pretty url to look something like<br />
<span class="code">http://myserver.dev/prettyurl/page2.html</span> </p>
<pre lang="apache">
#.htaccess code
RewriteEngine On
RewriteRule ^(.*)\.html$ test.php?page=$1 [L]
</pre>
<p>Let me explain what every line does.</p>
<ul>
<li><span class="code">RewriteEngine On</span><br />
This tells to start the Rewrite Engine.</li>
<li><span class="code">RewriteRule ^(.*)\.html$ test.php?page=$1 [L]</span><br />
The basic syntax of<br />
RewriteRule pattern target_url [flag,flag,flag,…]</p>
<ol>
<li>pattern is <span class="code">^(.*)\.html$</span><br />
() &#8211; Parentheses allow you to group several characters as a unit and also to capture the results of a match for later use. The ability to treat several characters as a unit is extremely useful in pattern matching. </p>
<p><span class="code">(.*)</span> &#8211; Matches anything.<br />
Eg: http://myserver.dev/prettyurl/page1.html where (.*)\.html matches page1.html
</li>
<li>
target_url is <span class="code">test.php?page=$1 </span><br />
$1 is a variable where $1 = (.*) from the pattern.
</li>
<li>
flag is <span class="code">[L]</span>.<br />
There are various flags. [L] means, If there is a match with a particular rewrite rule, It has to be the last rewrite rule to be executed.
</li>
</ol>
</li>
</ul>
<p>Now lets test run our script. If the dynamic link is like<br />
<a href="http://myserver.dev/prettyurl/test.php?page=page1">http://myserver.dev/prettyurl/test.php?page=page1</a><br />
then your pretty link will be<br />
<a href="http://myserver.dev/prettyurl/page1.html">http://myserver.dev/prettyurl/page1.html</a><br />
Similarly for page=page2 the link will be page2.html ,page=page3 the link will be page3.html.</p>
<p>Phew ! That took a lot of time. If you are able to see the same output for both the ugly links and the pretty links, then you Rewrite rules are working perfectly.</p>
<h4>Method 2 &#8211; For 1 and more than 1 Variable(s)</h4>
<p>Now what if your dynamic URL was like<br />
<span class="code">http://myserver.dev/prettyurl/test.php?page=page1&#038;var=foo</span>.<br />
For the above dynamic URL we want our static URL to look something like<br />
<span class="code">http://myserver.dev/prettyurl/page1/foo.html</span>.<br />
We want the first variable to act as a directory, while the second one should be the file name.</p>
<p>Note that previously page=page1 had become &#8216;page1.html&#8217; since there was just one variable. But now we have 2 variables (page=page1&#038;var=foo) so we the structure should be like &#8216;page1/foo.html&#8217;</p>
<p>We have to write a new RewriteRule to support 2 variables.<br />
<strong>Remember : As your variables increase, the new Rewrite rules come before the previous ones.</strong></p>
<p>We are basically extending Method 1 by adding another RewriteRule to support 2 variables as input.</p>
<pre lang="apache">
RewriteEngine On
RewriteRule ([^/]+)/(.*)\.html$ test.php?page=$1&#038;var=$2 [L]
RewriteRule ^(.*)\.html$ test.php?page=$1 [L]
</pre>
<p>Let me Explain what the new line does.<br />
<span class="code">RewriteRule ([^/]+)/(.*)\.html$ test.php?page=$1&#038;var=$2 [L]</span></p>
<ol>
<li>pattern is <span class="code">([^/]+)/(.*)\.html$</span><br />
<span class="code">([^/]+)</span> &#8211; Which has the effect of matching any characters up to a slash or the end of the string, whichever comes first.<br />
<span class="code">(.*)</span> &#8211; Matches anything</p>
<p><span class="code">([^/]+)/(.*)\.html$</span> &#8211; characters up to slash &#8216;/&#8217; any characters &#8216;.html&#8217;<br />
Eg: page1/foo.html where ([^/]+) matches page1 and (.*)\.html matches foo.html
</li>
<li>
target_url is <span class="code">test.php?page=$1&#038;var=$2 </span><br />
Every variable i.e $1 and $2 matches with the unit inside the paranthesis.<br />
$1 = ([^/]+)<br />
$2 = (.*)
</li>
<li>
flag is <span class="code">[L]</span>.<br />
There are various flags. [L] means, If there is a match with a particular rewrite rule, It has to be the last rewrite rule to be executed.
</li>
</ol>
<p>You can test it out<br />
For all dynamic links like<br />
<a href="http://myserver.dev/prettyurl/test.php?page=page1&#038;var=foo">http://myserver.dev/prettyurl/test.php?page=page1&#038;var=foo </a><br />
will have static URL&#8217;s like<br />
<a href="http://myserver.dev/prettyurl/page1/foo.html">http://myserver.dev/prettyurl/page1/foo.html</a></p>
<h2 align="center">Conclusion</h2>
<p>(Method 1 &nbsp; Method 2)<br />
Thus for all dynamic links like</p>
<p>http://myserver.dev/prettyurl/test.php?page=pagex</p>
<p>will have static URL&#8217;s like</p>
<p>http://myserver.dev/prettyurl/pagex.html</p>
<p>(Method 2)<br />
For all dynamic links like</p>
<p>http://myserver.dev/prettyurl/test.php?page=pagex&#038;var=foo</p>
<p>will have static URL&#8217;s like</p>
<p>http://myserver.dev/prettyurl/pagex/foo.html</p>
<p>This was quite a basic tutorial. It is tough to understand the string matching patterns initially. But the logic is very simple. I hope the tutorial wasn&#8217;t tough to understand. If you guys have any doubts, feel free to comment here, I`ll try to solve them. Cya</p>
<p>Click <a href="http://www.visionmasterdesigns.com/demo/seo/seo.zip">Here</a> to download the files.</p>
]]></content:encoded>
			<wfw:commentRss>http://visionmasterdesigns.com/tutorial-creating-pretty-seo-url-using-apache-mod-rewrite/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Tutorial : AJAX interface/menu using jQuery/PHP</title>
		<link>http://visionmasterdesigns.com/tutorial-ajax-interface-menu-using-jqueryphp/</link>
		<comments>http://visionmasterdesigns.com/tutorial-ajax-interface-menu-using-jqueryphp/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 15:24:34 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Javascript Frameworks]]></category>
		<category><![CDATA[PHP & MySQL]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://blog.visionmasterdesigns.com/?p=218</guid>
		<description><![CDATA[
			
				
			
		

Hello Guys,
I have been busy with college lately, since this is my last year in college, I need to do a very cool project to get some good marks  . Anyways that doesn`t mean I won`t be postin tutorials here  . Want to present your data using AJAX/PHP/MySQL by just coding few lines [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin: 0 0 0.6em 0.6em;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fvisionmasterdesigns.com%2Ftutorial-ajax-interface-menu-using-jqueryphp%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fvisionmasterdesigns.com%2Ftutorial-ajax-interface-menu-using-jqueryphp%2F&amp;source=rowoot&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p style="text-align: center;"><a title="Ajax Interface" rel="lightbox[pics218]" href="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t1.jpg"><img class="attachment wp-att-219 centered" src="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t1.thumbnail.jpg" alt="Ajax Interface" width="350" height="180" /></a></p>
<p>Hello Guys,</p>
<p>I have been busy with college lately, since this is my last year in college, I need to do a very cool project to get some good marks <img src='http://visionmasterdesigns.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Anyways that doesn`t mean I won`t be postin tutorials here <img src='http://visionmasterdesigns.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . Want to present your data using AJAX/PHP/MySQL by just coding few lines ? Well here it is. This tutorial teaches you how to present data using AJAX (using jQuery) with some neat effects. We can use PHP/MySQL to store the data and call it. In this tutorial I`ll teach you how to do so with PHP. So lets begin !</p>
<p>You can check the demo <a href="http://visionmasterdesigns.com/demo/ajaxinterface/" target="_blank">HERE</a>.<br />
You can download these files <a href="http://visionmasterdesigns.com/demo/ajaxinterface/interface.zip">HERE</a></p>
<h4>Index</h4>
<ol>
<li>Create the HTML page &#8211; <span class="code">index.html</span></li>
<li>
<ul>
<li><a href="http://www.visionmasterdesigns.com/2008/07/tutorial-ajax-interface-menu-using-jqueryphp/#css">The CSS</a></li>
<li><a href="http://www.visionmasterdesigns.com/2008/07/tutorial-ajax-interface-menu-using-jqueryphp/#html">The HTML</a></li>
<li><a href="http://www.visionmasterdesigns.com/2008/07/tutorial-ajax-interface-menu-using-jqueryphp/#javascript">The Javascript</a></li>
<li><a href="http://www.visionmasterdesigns.com/2008/07/tutorial-ajax-interface-menu-using-jqueryphp/#interface">Final interface.html page</a></li>
</ul>
</li>
<li>Create the PHP File &#8211; <span class="code">boo.php</span></li>
</ol>
<p><span id="more-218"></span></p>
<h2 align="center">HTML Page</h2>
<p>Our HTML file will contain the javascript as well as the CSS styles embedded within it. We can also create the effect by creating individual files for each i.e one for javascript functions and the other for the CSS. Anyways in this tutorial, both of them will be embedded within the html page. Now First fire up your favourite HTML editor (Personally I love Dreamweaver CS3).</p>
<p>We will be using The jQuery Framework &#8211; <span class="code">jquery.js</span>. If you want to know how the jQuery Framework works then do visit <a href="http://www.visionmasterdesigns.com/blog/2008/07/exploring-javascript-frameworks-jquery-126/">Exploring Javascript Frameworks : jQuery 1.2.6</a>.<br />
<!--adman--></p>
<h4><a name="css"></a>Step 1 &#8211; The CSS</h4>
<p>Lets add our css first. First create a new HTML file, call it <span class="code">interface.html</span>.<br />
The following is the css code.</p>
<pre class="brush: css">
&lt;style type=&quot;text/css&quot;&gt;
body { margin:0 auto 0 auto; color:#000; font-family:Georgia, &quot;Times New Roman&quot;, Times, serif; font-size:16px; background-color:#666666; }

.page { margin:100px auto 0 auto; width:750px;}

/*MENU START*/
#menu  { list-style:none; margin:0px; padding:0px;}

#menu li { list-style:none; display:inline; }
li.active a { background-color:#FFF;color:#000; }

#menu li a,#menu li a:link { float:left; background-color:#3c3c3c; margin-right:5px; padding:7px; color:#FFFFFF; text-decoration:none; width:6em; text-align:center;}
#menu li a:visited { }
#menu li a:hover { background-color:#327cc8 }
#menu li a:active { background-color:#FFF;color:#000; }
/* MENU END*/

#outcontent {clear:both; background-color:#FFFFFF; }
.content {background-color:#FFF; padding:10px; height:300px; margin:0px; }

#loading { clear:both; background:url(wait.gif) center top no-repeat; text-align:center;padding:33px 0px 0px 0px; font-size:12px;display:none; font-family:Verdana, Arial, Helvetica, sans-serif; }
&lt;/style&gt;
</pre>
<p>The CSS is pretty straight forward.</p>
<ul>
<li><span class="code">#page</span> will be assigned to a div, which will hold our menu and other divs
<li><span class="code">#menu</span> is the CSS to display our menu tabs.</li>
<li><span class="code">#loading</span> is the CSS to display the AJAX loading image.</li>
<li><span class="code">#outcontent</span> is the container to contain <span class="code">.content</span></li>
</ul>
<p>Put the above code inside the <span class="code">HEAD</span> tag of <span class="code">interface.html</span>. So <span class="code">interface.html</span> will look something like the following.</p>
<pre class="brush: html">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
&lt;title&gt;interface.html&lt;/title&gt;
&lt;style type=&quot;text/css&quot;&gt;
body { margin:0 auto 0 auto; color:#000; font-family:Georgia, &quot;Times New Roman&quot;, Times, serif; font-size:16px; background-color:#666666; }

.page { margin:100px auto 0 auto; width:750px;}

#menu  { list-style:none; margin:0px; padding:0px;}

#menu li { list-style:none; display:inline; }
li.active a { background-color:#FFF;color:#000; }

#menu li a,#menu li a:link { float:left; background-color:#3c3c3c; margin-right:5px; padding:7px; color:#FFFFFF; text-decoration:none; width:6em; text-align:center;}
#menu li a:visited { }
#menu li a:hover { background-color:#327cc8 }
#menu li a:active { background-color:#FFF;color:#000; }

.content {
background-color:#FFF; background:url(ajaxinterface.jpg) bottom right no-repeat; padding:10px; height:300px; margin:0px; }

#loading { clear:both; background:url(wait.gif) center top no-repeat; text-align:center;padding:33px 0px 0px 0px; font-size:12px;display:none; font-family:Verdana, Arial, Helvetica, sans-serif; }

#outcontent {clear:both; background-color:#FFFFFF; }

&lt;/style&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>The above is the HTML page <span class="code">interface.html</span> with the CSS defined in it.</p>
<h4><a name="html"></a>Step 2 &#8211; The HTML</h4>
<p>Ok! Since now we have coded the CSS, lets create the HTML divs inside <span class="code">interface.html</span>.</p>
<ol>
<li>Inside the <span class="code">BODY</span> tag lets create a div which will contain the menu and the subsequent divs.</li>
<pre class="brush: html">
&lt;body&gt;
    &lt;div class=&quot;page&quot;&gt;
    &lt;!-- Menu and other divs go here !--&gt;
    &lt;/div&gt;
&lt;/body&gt;
</pre>
<li>Then we`ll create the menu Tabs.</li>
<pre class="brush: html">
&lt;body&gt;
    &lt;div class=&quot;page&quot;&gt;
    &lt;ul id=&quot;menu&quot;&gt;
    &lt;!-- you can add more tabs as you wish !--&gt;
             &lt;li id=&quot;about&quot;	&gt;&lt;a href=&quot;#&quot; title=&quot;about&quot;&gt;About&lt;/a&gt;&lt;/li&gt;
            &lt;li id=&quot;portfolio&quot;&gt;&lt;a href=&quot;#&quot; title=&quot;portfolio&quot;&gt;Portfolio&lt;/a&gt;&lt;/li&gt;
            &lt;li id=&quot;contact&quot;&gt;&lt;a href=&quot;#&quot; title=&quot;contact&quot;&gt;Contact&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;br style=&quot;clear:both;&quot; /&gt;
    &lt;/div&gt;
&lt;/body&gt;
</pre>
<li>Now we need a container to display our <span class="code">Loading</span> text and our <span class="code">content</span>, so we`ll create 2 divs and lets put these divs inside another div called <span class="code">outcontent</span>. The following is how it`ll look.</li>
<pre class="brush: html">
&lt;body&gt;
    &lt;div class=&quot;page&quot;&gt;
        &lt;div&gt;
            &lt;ul id=&quot;menu&quot;&gt;
            &lt;!-- you can add more tabs as you wish !--&gt;
                         &lt;li id=&quot;about&quot;	&gt;&lt;a href=&quot;#&quot; title=&quot;about&quot;&gt;About&lt;/a&gt;&lt;/li&gt;
                        &lt;li id=&quot;portfolio&quot;&gt;&lt;a href=&quot;#&quot; title=&quot;portfolio&quot;&gt;Portfolio&lt;/a&gt;&lt;/li&gt;
                        &lt;li id=&quot;contact&quot;&gt;&lt;a href=&quot;#&quot; title=&quot;contact&quot;&gt;Contact&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
        &lt;br style=&quot;clear:both;&quot; /&gt;
        &lt;/div&gt;
        &lt;!-- #outcontent - Overall div containing Loading div &amp;amp;amp; content div !--&gt;
        &lt;div id=&quot;outcontent&quot;&gt;
           	 &lt;div id=&quot;loading&quot;&gt;LOADING&lt;/div&gt;
            &lt;div class=&quot;content&quot;&gt;&lt;/div&gt;
        &lt;/div&gt;
        &lt;!-- #outcontent end !--&gt;
    &lt;/div&gt;
&lt;/body&gt;
</pre>
</ol>
<p><span class="code">interface.html</span></p>
<pre class="brush: html">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
&lt;title&gt;interface.html&lt;/title&gt;
&lt;style type=&quot;text/css&quot;&gt;
body { margin:0 auto 0 auto; color:#000; font-family:Georgia, &quot;Times New Roman&quot;, Times, serif; font-size:16px; background-color:#666666; }

.page { margin:100px auto 0 auto; width:750px;}

#menu  { list-style:none; margin:0px; padding:0px;}

#menu li { list-style:none; display:inline; }
li.active a { background-color:#FFF;color:#000; }

#menu li a,#menu li a:link { float:left; background-color:#3c3c3c; margin-right:5px; padding:7px; color:#FFFFFF; text-decoration:none; width:6em; text-align:center;}
#menu li a:visited { }
#menu li a:hover { background-color:#327cc8 }
#menu li a:active { background-color:#FFF;color:#000; }

.content {
background-color:#FFF; padding:10px; height:300px; margin:0px; }

#loading { clear:both; background:url(wait.gif) center top no-repeat; text-align:center;padding:33px 0px 0px 0px; font-size:12px;display:none; font-family:Verdana, Arial, Helvetica, sans-serif; }

#outcontent {clear:both; background-color:#FFFFFF; }

&lt;/style&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;div class=&quot;page&quot;&gt;
&lt;div&gt;
&lt;ul id=&quot;menu&quot;&gt;
             &lt;li id=&quot;about&quot;	&gt;&lt;a href=&quot;#&quot; title=&quot;about&quot;&gt;About&lt;/a&gt;&lt;/li&gt;
            &lt;li id=&quot;portfolio&quot;&gt;&lt;a href=&quot;#&quot; title=&quot;portfolio&quot;&gt;Portfolio&lt;/a&gt;&lt;/li&gt;
            &lt;li id=&quot;contact&quot;&gt;&lt;a href=&quot;#&quot; title=&quot;contact&quot;&gt;Contact&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;clear:both;&quot; /&gt;
&lt;/div&gt;
&lt;div id=&quot;outcontent&quot;&gt;
&lt;div id=&quot;loading&quot;&gt;LOADING&lt;/div&gt;
&lt;div class=&quot;content&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>The page should look something like the following</p>
<p style="text-align: center;"><a href="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t2.jpg" rel="lightbox[pics218]" title="empty Interface.html"><img src="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t2.thumbnail.jpg" alt="empty Interface.html" width="425" height="305" class="attachment wp-att-229 centered" /></a></p>
<h4><a name="javascript"></a>Step 3 &#8211; Add the Javascript Magic !</h4>
<p>This page would do for static pages, but we are making an AJAX powered page ! Its time to add the magic.<br />
First if you have read the <a href="http://www.visionmasterdesigns.com/blog/2008/07/exploring-javascript-frameworks-jquery-126/">Exploring Javascript Frameworks : jQuery 1.2.6</a> post, it should not be a problem.</p>
<ol>
<li>First lets link to the jquery library</li>
<pre class="brush: javascript">
&lt;script src=&quot;jquery.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre>
<li>Next lets open the script tag again and add the following code. The following code is pretty explainatory. I have added a lot of comments to show what each and every line does.</li>
<pre class="brush: javascript">
&lt;script&gt;
  // When the document loads do everything inside here ...
     $(document).ready(function(){
	 $(&#039;.content&#039;).load(&#039;boo.php&#039;);	//by default initally load text from boo.php
         $(&#039;#menu a&#039;).click(function() { //start function when any link is clicked
		 				$(&quot;.content&quot;).slideUp(&quot;slow&quot;);
						 var content_show = $(this).attr(&quot;title&quot;); //retrieve title of link so we can compare with php file
							$.ajax({
							method: &quot;get&quot;,url: &quot;boo.php&quot;,data: &quot;page=&quot;+content_show,
							beforeSend: function(){$(&quot;#loading&quot;).show(&quot;fast&quot;);}, //show loading just when link is clicked
							complete: function(){ $(&quot;#loading&quot;).hide(&quot;fast&quot;);}, //stop showing loading when the process is complete
							success: function(html){ //so, if data is retrieved, store it in html
							$(&quot;.content&quot;).show(&quot;slow&quot;); //animation
							$(&quot;.content&quot;).html(html); //show the html inside .content div
					 }
				 }); //close $.ajax(
         }); //close click(
	 }); //close $(
&lt;/script&gt;
</pre>
</ol>
<p>Voila ! thats it.</p>
<h2><a name="interface"></a>Our Final interface.html page</h2>
<pre class="brush: javascript">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
&lt;title&gt;interface.html&lt;/title&gt;
&lt;script src=&quot;jquery.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
 &lt;script&gt;
  // When the document loads do everything inside here ...
     $(document).ready(function(){
	 $(&#039;.content&#039;).load(&#039;boo.php&#039;);	//by default initally load text from boo.php
         $(&#039;#menu a&#039;).click(function() { //start function when any link is clicked
		 				$(&quot;.content&quot;).slideUp(&quot;slow&quot;);
						 var content_show = $(this).attr(&quot;title&quot;); //retrieve title of link so we can compare with php file
							$.ajax({
							method: &quot;get&quot;,url: &quot;boo.php&quot;,data: &quot;page=&quot;+content_show,
							beforeSend: function(){$(&quot;#loading&quot;).show(&quot;fast&quot;);}, //show loading just when link is clicked
							complete: function(){ $(&quot;#loading&quot;).hide(&quot;fast&quot;);}, //stop showing loading when the process is complete
							success: function(html){ //so, if data is retrieved, store it in html
							$(&quot;.content&quot;).show(&quot;slow&quot;); //animation
							$(&quot;.content&quot;).html(html); //show the html inside .content div
					 }
				 }); //close $.ajax(
         }); //close click(
	 }); //close $(
&lt;/script&gt;
&lt;style type=&quot;text/css&quot;&gt;
body { margin:0 auto 0 auto; color:#000; font-family:Georgia, &quot;Times New Roman&quot;, Times, serif; font-size:16px; background-color:#666666; }

.page { margin:100px auto 0 auto; width:750px;}

#menu  { list-style:none; margin:0px; padding:0px;}

#menu li { list-style:none; display:inline; }
li.active a { background-color:#FFF;color:#000; }

#menu li a,#menu li a:link { float:left; background-color:#3c3c3c; margin-right:5px; padding:7px; color:#FFFFFF; text-decoration:none; width:6em; text-align:center;}
#menu li a:visited { }
#menu li a:hover { background-color:#327cc8 }
#menu li a:active { background-color:#FFF;color:#000; }

.content {
background-color:#FFF; padding:10px; height:300px; margin:0px; }

#loading { clear:both; background:url(wait.gif) center top no-repeat; text-align:center;padding:33px 0px 0px 0px; font-size:12px;display:none; font-family:Verdana, Arial, Helvetica, sans-serif; }

#outcontent {clear:both; background-color:#FFFFFF; }

&lt;/style&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;div class=&quot;page&quot;&gt;
&lt;div&gt;
&lt;ul id=&quot;menu&quot;&gt;
             &lt;li id=&quot;about&quot;	&gt;&lt;a href=&quot;#&quot; title=&quot;about&quot;&gt;About&lt;/a&gt;&lt;/li&gt;
            &lt;li id=&quot;portfolio&quot;&gt;&lt;a href=&quot;#&quot; title=&quot;portfolio&quot;&gt;Portfolio&lt;/a&gt;&lt;/li&gt;
            &lt;li id=&quot;contact&quot;&gt;&lt;a href=&quot;#&quot; title=&quot;contact&quot;&gt;Contact&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br style=&quot;clear:both;&quot; /&gt;
&lt;/div&gt;
&lt;div id=&quot;outcontent&quot;&gt;
&lt;div id=&quot;loading&quot;&gt;LOADING&lt;/div&gt;
&lt;div class=&quot;content&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://visionmasterdesigns.com/tutorial-ajax-interface-menu-using-jqueryphp/feed/</wfw:commentRss>
		<slash:comments>81</slash:comments>
		</item>
		<item>
		<title>Tutorial : Using phpMyAdmin to manage mySQL</title>
		<link>http://visionmasterdesigns.com/tutorial-using-phpmyadmin-to-manage-mysql/</link>
		<comments>http://visionmasterdesigns.com/tutorial-using-phpmyadmin-to-manage-mysql/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 17:53:00 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[PHP & MySQL]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PhpMyAdmin]]></category>

		<guid isPermaLink="false">http://blog.visionmasterdesigns.com/?p=175</guid>
		<description><![CDATA[
			
				
			
		
Hello Everyone !
I am really excited ! Its been 18 days since the blog started and the response is amazing. I really hope these tutorials are helpful. Anyways I have seen a lot of people having problem setting up phpmyadmin and Lot more have no idea how to use it. So this tutorial is dedicated [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin: 0 0 0.6em 0.6em;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fvisionmasterdesigns.com%2Ftutorial-using-phpmyadmin-to-manage-mysql%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fvisionmasterdesigns.com%2Ftutorial-using-phpmyadmin-to-manage-mysql%2F&amp;source=rowoot&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Hello Everyone !</p>
<p>I am really excited ! Its been 18 days since the blog started and the response is amazing. I really hope these tutorials are helpful. Anyways I have seen a lot of people having problem setting up phpmyadmin and Lot more have no idea how to use it. So this tutorial is dedicated to you folks. I`ll teach you the basics of how to play with phpMyAdmin. Frankly I have not seen much tutorials on how to use phpmyadmin, and I don`t know how well you guys will like it.<br />
Anyways</p>
<h2 style="text-align: center;">phpMyAdmin 2.11.x Front Page</h2>
<p style="text-align: center;"><a title="phpmyadmin front page" rel="lightbox[pics175]" href="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11a.jpg"><img class="attachment wp-att-176 centered" src="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11a.thumbnail.jpg" alt="phpmyadmin front page" width="425" height="251" /></a></p>
<p><span id="more-175"></span><br />
The Front page shows you something similar to the above image. As you can see, On the left we have the existing databases. If there are none available its fine, and on the right we have the page which has a lot of text in it <img src='http://visionmasterdesigns.com/wordpress/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> . You can see that I have marked the area from where you can create your database.<br />
For more information about your mysql server, its configurations etc you can check the many links on this page. Exploring more links is the key to master it <img src='http://visionmasterdesigns.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h4>Lets create a database called &#8216;test&#8217;</h4>
<p>Now lets create a database called test. Put the name test in the Create New database box and click on create.</p>
<p style="text-align: center;"><a title="Create dbase screen using phpmyadmin" rel="lightbox[pics175]" href="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11b.jpg"><img class="attachment wp-att-180 centered" src="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11b.thumbnail.jpg" alt="Create dbase screen using phpmyadmin" width="425" height="250" /></a></p>
<p>You`ll see something similar to the above when you create your first database. Cool ! Now you might notice that I have boxed an area in the above image.</p>
<ul>
<li><span class="code">Structure</span> &#8211; Shows you the structure of the database (Schema)</li>
<li><span class="code">SQL</span> &#8211; You can use the query language to modify your database</li>
<li><span class="code">Search</span> &#8211; Search for a particular item</li>
<li><span class="code">Query</span> &#8211; Right now don`t worry about this much. <img src='http://visionmasterdesigns.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li><span class="code">Export/Import</span> &#8211; You can export your database in SQL or import an equivalent</li>
<li><span class="code">Operations</span> &#8211; Operations you can perform on your database</li>
<li><span class="code">Privileges</span> &#8211; Shows you the user who can use this database and his privileges.</li>
<li><span class="code">Drop</span> &#8211; Delete the database</li>
</ul>
<p>Phew that was quite a bunch ! Lets move on. Now we have created our database test. Lets create tables in it. Click on <span class="code">SQL</span> from the area I had marked in the image, and goto the next step.</p>
<h4>Create table &#8216;user&#8217;</h4>
<p style="text-align: center;"><a title="create table in phpmyadmin" rel="lightbox[pics175]" href="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11c.jpg"><img class="attachment wp-att-181 centered" src="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11c.thumbnail.jpg" alt="create table in phpmyadmin" width="425" height="250" /></a></p>
<p>You will see a page similar to the above image. Write a SQL query to create a table.</p>
<pre lang="sql">CREATE TABLE user (
id INT AUTO_INCREMENT NOT NULL,
user VARCHAR(50),
pass VARCHAR(50),
PRIMARY KEY(id) )</pre>
<p style="text-align: center;"><a title="phpmyadmin table code executed" rel="lightbox[pics175]" href="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11d.jpg"><img class="attachment wp-att-188 centered" src="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11d.thumbnail.jpg" alt="phpmyadmin table code executed" width="425" height="250" /></a></p>
<p>If the code was executed successfully you`ll see something similar to the above image. I think the image is self explainatory. On the left the table you just created under database test. Click on &#8216;test&#8217;. you will be taken to the &#8216;Table Info Page&#8217;.</p>
<h2 style="text-align: center;">phpMyAdmin Database Info page</h2>
<p style="text-align: center;"><a title="phpmyadmin database info page" rel="lightbox[pics175]" href="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11i.jpg"><img class="attachment wp-att-193 centered" src="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11i.thumbnail.jpg" alt="phpmyadmin database info page" width="425" height="251" /></a></p>
<p>This page is where all your tables of a particular database are shown. As shown in the above figure, in the database test, we currently have only 1 table i.e user.</p>
<h2 style="text-align: center;">phpMyAdmin Table Info page</h2>
<p style="text-align: center;"><a title="phpmyadmin table page" rel="lightbox[pics175]" href="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11e.jpg"><img class="attachment wp-att-189 centered" src="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11e.thumbnail.jpg" alt="phpmyadmin table page" width="425" height="250" /></a></p>
<p>Ok ! So you clicked on test and something similar to the above image will be displayed. This page shows you the structure of your table. As you can see, the table we had created has 3 attributes</p>
<ul>
<li><span class="code">id</span> -int (Primary key)</li>
<li><span class="code">user</span> -VARCHAR of size 50</li>
<li><span class="code">pass</span> &#8211; VARCHAR of size 50</li>
</ul>
<p>You can see in the above image, I have marked an area &#8220;edit the attributes&#8221;. Those little icons help to modify your attributes. From the Left -</p>
<ul>
<li><span class="code">Browse</span> &#8211; Browse values of a particular attribute</li>
<li><span class="code">edit &#8211; Edit structure of attribute, (example: change particular attribute&#8217;s datatype from VARCHAR to text)</span></li>
<li><span class="code">delete</span> &#8211; delete particular attribute</li>
<li><span class="code">Primary, Unique, Index</span>. (It is pretty self explainatory, if you know anything about DBMS)</li>
</ul>
<h4>Insert values inside table</h4>
<p>Ok, Now you know how to create a database, create table inside a database. Lets learn how to insert values inside our table. First goto the &#8216;user&#8217; &#8216;table info page&#8217;. then Click on <span class="code">Insert</span> in the top.</p>
<p style="text-align: center;"><a title="insert page phpmyadmin" rel="lightbox[pics175]" href="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11f.jpg"><img class="attachment wp-att-195 centered" src="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11f.thumbnail.jpg" alt="insert page phpmyadmin" width="425" height="250" /></a></p>
<p>You`ll see a page similar to the above image. As you can see, its pretty neatly laid out, I hope its not that tough for you to decide where to type your data <img src='http://visionmasterdesigns.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  *There is no need to type anything in <span class="code">id</span>, since if you notice this line<br />
<span class="code">id INT AUTO_INCREMENT NOT NULL</span> which we had typed earlier to create a table ,you`ll see that <span class="code">id</span> is a primary key &amp; it auto increments as you go on inserting records.*</p>
<p style="text-align: center;"><a title="inserted values" rel="lightbox[pics175]" href="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11g.jpg"><img class="attachment wp-att-197 centered" src="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11g.thumbnail.jpg" alt="inserted values" width="425" height="251" /></a></p>
<p>The above image will be displayed once you have inserted your values successfully. Now since you have inserted values, you can double check or see what all values your table contains by clicking on the <span class="code">Browse</span> link on the top. It`ll browse the table for all the records. The following image is what it`ll look like.</p>
<h2 style="text-align: center;">phpMyAdmin Table browse page</h2>
<p style="text-align: center;"><a title="phpmyadmin browse all records" rel="lightbox[pics175]" href="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11h.jpg"><img class="attachment wp-att-198 centered" src="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11h.thumbnail.jpg" alt="phpmyadmin browse all records" width="425" height="251" /></a></p>
<p>You can see all the values for every record. You can edit, delete the records as well. The small Icons are very obvious and not hard to miss. PhpMyAdmin also gives the ability to see results for particular queries. Suppose you want to execute a query on a particular table then click on SQL on the top of the &#8216;Table Info/Browse Page&#8217;</p>
<h4>Execute SQL queries on your table</h4>
<p style="text-align: center;"><a title="phpmyadmin sql query" rel="lightbox[pics175]" href="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11j.jpg"><img class="attachment wp-att-205 centered" src="http://www.visionmasterdesigns.com/blog/wp-content/uploads/2008/07/t11j.thumbnail.jpg" alt="phpmyadmin sql query" width="425" height="251" /></a></p>
<p>The above page is how it`ll look like, you can type in any query to check.</p>
<p>Well, that was very basics of phpMyAdmin. If you guys want any help regarding other functions of phpmyadmin feel free to ask.</p>
<p>If the response for this tutorial is well, then I`ll move to the advanced phpmyadmin stuffz <img src='http://visionmasterdesigns.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Enjoy Guys</p>
<div class="donate">Found this tutorial really useful, you can click here to donate.</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input name="cmd" type="hidden" value="_donations" />
<input name="business" type="hidden" value="rowoot@gmail.com" />
<input name="item_name" type="hidden" value="MICHEAL BENEDICT ARUL" />
<input name="no_shipping" type="hidden" value="0" />
<input name="no_note" type="hidden" value="1" />
<input name="currency_code" type="hidden" value="USD" />
<input name="tax" type="hidden" value="0" />
<input name="lc" type="hidden" value="IN" />
<input name="bn" type="hidden" value="PP-DonationsBF" />
<input alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" type="image" /> <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" border="0" alt="" width="1" height="1" /><br />
</form>
<p>else you can click on just any ad <img src='http://visionmasterdesigns.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </div>
]]></content:encoded>
			<wfw:commentRss>http://visionmasterdesigns.com/tutorial-using-phpmyadmin-to-manage-mysql/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Tutorial : Creating a Content Management System using PHP/MySQL</title>
		<link>http://visionmasterdesigns.com/tutorial-creating-a-content-management-system-using-phpmysql/</link>
		<comments>http://visionmasterdesigns.com/tutorial-creating-a-content-management-system-using-phpmysql/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 18:46:07 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[PHP & MySQL]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://blog.visionmasterdesigns.com/?p=103</guid>
		<description><![CDATA[
			
				
			
		
Its been 2 weeks since visionmasterdesigns.com was started and I am very glad with the response. Lot of people want to explore PHP/MySQL more and I think I`ll give in to that  . So Today lets design a Content Management System using PHP/MySQL.
Index

Page 1 : Introduction
Page 2 : Database Work
Page 3 : functions.php
Page 4 [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin: 0 0 0.6em 0.6em;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fvisionmasterdesigns.com%2Ftutorial-creating-a-content-management-system-using-phpmysql%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fvisionmasterdesigns.com%2Ftutorial-creating-a-content-management-system-using-phpmysql%2F&amp;source=rowoot&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Its been 2 weeks since visionmasterdesigns.com was started and I am very glad with the response. Lot of people want to explore PHP/MySQL more and I think I`ll give in to that <img src='http://visionmasterdesigns.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . So Today lets design a Content Management System using PHP/MySQL.</p>
<h4>Index</h4>
<ul>
<li>Page 1 : Introduction</li>
<li>Page 2 : <a href="http://www.visionmasterdesigns.com/2008/07/tutorial-creating-a-content-management-system-using-phpmysql/2/">Database Work</a></li>
<li>Page 3 : <a href="http://www.visionmasterdesigns.com/2008/07/tutorial-creating-a-content-management-system-using-phpmysql/3/">functions.php</a></li>
<li>Page 4 : <a href="http://www.visionmasterdesigns.com/2008/07/tutorial-creating-a-content-management-system-using-phpmysql/4/">articlefunctions.php</a></li>
<li>Page 5 : <a href="http://www.visionmasterdesigns.com/2008/07/tutorial-creating-a-content-management-system-using-phpmysql/5/">insertarticle.php</a></li>
<li>Page 6 : <a href="http://www.visionmasterdesigns.com/2008/07/tutorial-creating-a-content-management-system-using-phpmysql/6/">editarticle.php</a></li>
<li>Page 7 : <a href="http://www.visionmasterdesigns.com/2008/07/tutorial-creating-a-content-management-system-using-phpmysql/7/">article.php &#8211; Our start File</a></li>
<li>Demo &#8211; <a href="http://visionmasterdesigns.com/demo/cms/article.php">Here</a></li>
<li>Script &#8211; <a href="http://visionmasterdesigns.com/demo/cms/cms.zip">Here</a></li>
</ul>
<p>Don`t get scared seeing the number of pages. This system has 5 files as listed above. Our CMS features add,edit and delete article records.</p>
<h4>Introduction to CMS</h4>
<p>CMS is an application through which you can add content without the need of uploading any files. You can create,edit,delete articles directly online. These articles are stored in the backend i.e database, in our case MySQL. Everytime user requests for a particular article, the php script retrieves the article and displays it to the user.</p>
<p>I`ll try to keep it as simple as possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://visionmasterdesigns.com/tutorial-creating-a-content-management-system-using-phpmysql/feed/</wfw:commentRss>
		<slash:comments>50</slash:comments>
		</item>
		<item>
		<title>Tutorial : Intoduction to AJAX with PHP</title>
		<link>http://visionmasterdesigns.com/tutorial-introduction-ajax-with-php/</link>
		<comments>http://visionmasterdesigns.com/tutorial-introduction-ajax-with-php/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 10:31:43 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[PHP & MySQL]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://blog.visionmasterdesigns.com/?p=49</guid>
		<description><![CDATA[
			
				
			
		
Hey Everyone,
I have been busy lately, but that ain`t gonna stop me from writing tutorials ! Anyways I had promised a Ruby on Rails tutorial, I am working on that, I am trying to make it as descriptive as possible, but before I post that, a lot of people asked me what is AJAX, how [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin: 0 0 0.6em 0.6em;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fvisionmasterdesigns.com%2Ftutorial-introduction-ajax-with-php%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fvisionmasterdesigns.com%2Ftutorial-introduction-ajax-with-php%2F&amp;source=rowoot&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Hey Everyone,</p>
<p>I have been busy lately, but that ain`t gonna stop me from writing tutorials ! Anyways I had promised a Ruby on Rails tutorial, I am working on that, I am trying to make it as descriptive as possible, but before I post that, a lot of people asked me what is AJAX, how to integrate it with PHP/MySQL etc ? Well guys, This tutorial is dedicated to you all !</p>
<p>Along with answering all your queries, I will be teaching you how to make a simple application in PHP/MySQL using AJAX.</p>
<h4>Index</h4>
<ul>
<li>Page 1 : <a href="http://www.visionmasterdesigns.com/blog/2008/07/tutorial-introduction-ajax-with-php/">Introduction</a></li>
<li>Page 2 : <a href="http://www.visionmasterdesigns.com/blog/2008/07/tutorial-introduction-ajax-with-php/2/">Introduction  to &#8216;AJAX&#8217;</a></li>
<li>Page 3 : <a href="http://www.visionmasterdesigns.com/blog/2008/07/tutorial-introduction-ajax-with-php/3/">General AJAX code</a></li>
<li>Page 4 : <a href="http://www.visionmasterdesigns.com/blog/2008/07/tutorial-introduction-ajax-with-php/4/">Ajax Application using PHP (Username validator)</a></li>
<li><a target="_blank" href="http://visionmasterdesigns.com/demo/ajax/usernamechecker.html">Click here to see demo</a></li>
</ul>
<p>Required : Some basic knowledge in Javascript, HTML.<br />
<span id="more-49"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://visionmasterdesigns.com/tutorial-introduction-ajax-with-php/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
