<?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"
	>

<channel>
	<title>raymondselda.com</title>
	<atom:link href="http://www.raymondselda.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.raymondselda.com</link>
	<description>Music, Drumming &#38; Web Development</description>
	<pubDate>Tue, 22 Jul 2008 04:06:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Blog redesign update</title>
		<link>http://www.raymondselda.com/blog-redesign-update/</link>
		<comments>http://www.raymondselda.com/blog-redesign-update/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 04:03:50 +0000</pubDate>
		<dc:creator>raymondselda</dc:creator>
		
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.raymondselda.com/?p=67</guid>
		<description><![CDATA[
I&#8217;m happy to report the progress I&#8217;ve been making on my blog redesign project.  So far I&#8217;m already in between steps 3 and 4 which is converting the Photoshop mockup into XHTML and CSS then coding it for Wordpress. I&#8217;m giving myself a deadline to launch my new redesign on or before August 12.
I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.raymondselda.com/wp-content/uploads/2008/05/raymondselda-shot.png"><img class="alignleft" src="http://www.raymondselda.com/wp-content/uploads/2008/05/raymondselda-thumb.gif" alt="RaymondSelda.com thumbnail screenshot" /></a></p>
<p>I&#8217;m happy to report the progress I&#8217;ve been making on my blog redesign project.  So far I&#8217;m already in between steps 3 and 4 which is converting the Photoshop mockup into XHTML and CSS then coding it for Wordpress. I&#8217;m giving myself a deadline to launch my new redesign on or before August 12.</p>
<p>I&#8217;m really excited about this project because this would be my first time in theme designing then coding it for Wordpress. After this project I would expect to learn more on creating themes faster with good quality if I plan to make a living off from it. hehehe.</p>
<p>I would really love to hear your comments and feedback on my <a title="RaymondSelda.com screenshot" href="http://www.raymondselda.com/wp-content/uploads/2008/05/raymondselda-shot.png">design</a>. Thank you.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.raymondselda.com%2Fblog-redesign-update%2F';
  addthis_title  = 'Blog+redesign+update';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondselda.com/blog-redesign-update/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Blog redesign</title>
		<link>http://www.raymondselda.com/blog-redesign/</link>
		<comments>http://www.raymondselda.com/blog-redesign/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 07:03:20 +0000</pubDate>
		<dc:creator>raymondselda</dc:creator>
		
		<category><![CDATA[Web Development]]></category>

		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.raymondselda.com/?p=66</guid>
		<description><![CDATA[I know what you&#8217;re thinking&#8230; &#8220;Its about time that I redesign my kick-ass blog! And please write some new content!&#8221; :p Well I&#8217;m happy to tell you, my faithful readers that I would grant your request! Right now I&#8217;m doing some sketches of my new blog and this time I would not search for free [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" src="http://www.raymondselda.com/wp-content/uploads/2008/05/sketch.jpg" alt="" />I know what you&#8217;re thinking&#8230; &#8220;Its about time that I redesign my kick-ass blog! And please write some new content!&#8221; :p Well I&#8217;m happy to tell you, my faithful readers that I would grant your request! Right now I&#8217;m doing some sketches of my new blog and this time I would not search for free premium templates as I&#8217;ve been doing for the past year. I would also write new content every week after implementing the new design. Although I would write some articles even before the relaunch of my blog&#8217;s new look.</p>
<p>The redesign process would go through the following process:</p>
<ol>
<li>Design sketching</li>
<li>Sketch to Photoshop mockup</li>
<li>Photoshop mockup to XHTML and CSS</li>
<li>XHTML and CSS to Wordpress</li>
<li>Wordpress to my adoring readers!</li>
</ol>
<p>I&#8217;m fairly confident that I will be successful with this project and after the relaunch I will decide whether to provide Wordpress development for you guys and gals! Please come back often to check the date of the relaunch. If you have any tips please share it because I badly need some. <img src='http://www.raymondselda.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.raymondselda.com%2Fblog-redesign%2F';
  addthis_title  = 'Blog+redesign';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondselda.com/blog-redesign/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Call Center Mishap</title>
		<link>http://www.raymondselda.com/call-center-mishap/</link>
		<comments>http://www.raymondselda.com/call-center-mishap/#comments</comments>
		<pubDate>Sun, 18 May 2008 04:34:28 +0000</pubDate>
		<dc:creator>raymondselda</dc:creator>
		
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.raymondselda.com/?p=60</guid>
		<description><![CDATA[
Below is a recorded conversation between agent Mike and Mr. Rolling Pin. I guess our friend Mike didn&#8217;t have any sleep yet. hehehe.


  addthis_url    = 'http%3A%2F%2Fwww.raymondselda.com%2Fcall-center-mishap%2F';
  addthis_title  = 'Call+Center+Mishap';
  addthis_pub    = '';

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.raymondselda.com/wp-content/uploads/2008/05/callcenter.jpg"><img class="aligncenter size-full wp-image-61" title="callcenter" src="http://www.raymondselda.com/wp-content/uploads/2008/05/callcenter.jpg" alt="" width="450" height="297" /></a></p>
<p>Below is a recorded conversation between agent Mike and Mr. Rolling Pin. I guess our friend Mike didn&#8217;t have any sleep yet. hehehe.</p>
<p></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.raymondselda.com%2Fcall-center-mishap%2F';
  addthis_title  = 'Call+Center+Mishap';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondselda.com/call-center-mishap/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What is Web 2.0?</title>
		<link>http://www.raymondselda.com/what-is-web-20/</link>
		<comments>http://www.raymondselda.com/what-is-web-20/#comments</comments>
		<pubDate>Mon, 12 May 2008 02:22:30 +0000</pubDate>
		<dc:creator>raymondselda</dc:creator>
		
		<category><![CDATA[Web Development]]></category>

		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://www.raymondselda.com/?p=53</guid>
		<description><![CDATA[
I wrote this article after listening to a podcast hosted by Paul Boag and with his trusty sidekick Marcus Lillington. The podcast is based from Andy Budd&#8217;s topic entitled &#8216;What is Web 2.0?&#8217; at the 2005 dConstruct conference.
Open Data
A Web 2.0 application is aware that the data you put into the system is your data. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-57" title="web 2.0 sites" src="http://www.raymondselda.com/wp-content/uploads/2008/05/web20.png" alt="" width="500" height="254" /></p>
<p>I wrote this article after listening to a podcast hosted by <a title="Boagworld" href="http://www.boagworld.com/" target="_blank">Paul Boag</a> and with his trusty sidekick Marcus Lillington. The podcast is based from Andy Budd&#8217;s topic entitled &#8216;What is Web 2.0?&#8217; at the 2005 dConstruct conference.<span id="more-53"></span></p>
<h3>Open Data</h3>
<p>A Web 2.0 application is aware that the data you put into the system is your data. A classic example of this concept is YouTube. The videos that you upload to Youtube belongs to you and doesn&#8217;t belong to YouTube. YouTube only provides a service for you to upload and manage your videos. Another example of this concept are blogging services like <a title="Wordpress" href="http://www.wordpress.org/" target="_blank">Wordpress</a> and <a title="Blogger" href="http://www.blogger.com/" target="_blank">Blogger</a>. Their application only provides the system for you to manage your blog posts. The blog entries that you put in their system are your own data. &#8216;Open data&#8217; revolves around the concept that if you put your data into the system, you should then be able to get it out from them if you decide to go with another application. &#8216;Open data&#8217; also means giving users control over their sensitive data. Users should not have a hard time updating their email address, password and other information.</p>
<h3>Architecture of Participation</h3>
<p>Back then traditional websites are the only one delivering the information and content to the user. The user only gets to scan and read this information. Nowadays Web 2.0 sites encourages user participation meaning users can submit their own content to the website. The idea behind this is that the more people that contributes to the site the better the site becomes. An example of this concept is <a title="Wikipedia" href="http://www.wikipedia.org/" target="_blank">Wikipedia</a> where the content is generated by users from around the world. Another example would be <a title="Digg" href="http://www.digg.com/" target="_blank">Digg</a> where users vote for a website that gets to be promoted on Digg&#8217;s front page after it gets a certain amount of votes. Users can give their comments and feedbacks on products and articles which can help other users gain as much as information on a particular service or product.</p>
<h3>Rich User Experience</h3>
<p>This last area is probably the most obvious reason why people will categorize a website as being Web 2.0. Web 2.0 sites have a richer user experience meaning they have applications that behaves a lot like desktop applications. With the use of AJAX, users can use an application without the need of reloading the page. It is also important for developers to not use AJAX just for the sake of using it. They must also ensure that their application will not prevent users from using their applications when Javascript is turned off. Websites like <a title="Flickr" href="http://www.flickr.com/" target="_blank">Flickr</a> and <a title="Facebook" href="http://www.facebook.com/" target="_blank">Facebook</a> are great examples of AJAX-enabled websites.</p>
<p>In my opinion the Web 2.0 concept is really all about the users. Its about making the web a better place. Websites should go along with the users and not against them. Of course if you have any other thoughts of what a Web 2.0 site is and whats it supposed to be you&#8217;re welcome to share it here.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.raymondselda.com%2Fwhat-is-web-20%2F';
  addthis_title  = 'What+is+Web+2.0%3F';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondselda.com/what-is-web-20/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FireTorrent - BitTorrent Made Easy</title>
		<link>http://www.raymondselda.com/firetorrent-bittorrent-made-easy/</link>
		<comments>http://www.raymondselda.com/firetorrent-bittorrent-made-easy/#comments</comments>
		<pubDate>Fri, 09 May 2008 14:23:57 +0000</pubDate>
		<dc:creator>raymondselda</dc:creator>
		
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.raymondselda.com/?p=55</guid>
		<description><![CDATA[Download torrent files directly using Firefox! Simply install the extension and you&#8217;re good to go!
Having a broadband connection really sucks when you want to download torrent files because for some reason my Internet provider doesn&#8217;t support port forwarding which can really lead to slow torrent downloads. I don&#8217;t know how they do it but with [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.wyzo.com/firetorrent/"><img class="alignleft size-full wp-image-56" title="firetorrent" src="http://www.raymondselda.com/wp-content/uploads/2008/05/firetorrent.gif" alt="" width="363" height="187" /></a>Download torrent files directly using <a title="Firefox" href="http://www.mozilla.com/en-US/firefox/" target="_blank">Firefox</a>! Simply install the <a href="http://www.wyzo.com/firetorrent/">extension</a> and you&#8217;re good to go!</p>
<p>Having a broadband connection really sucks when you want to download torrent files because for some reason my Internet provider doesn&#8217;t support port forwarding which can really lead to slow torrent downloads. I don&#8217;t know how they do it but with FireTorrent I get steady download speeds and can almost be competitive with other torrent clients like <a href="http://utorrent.com/">UTorrent</a>, <a href="http://www.bitcomet.com/">BitComet</a> and <a href="http://azureus.com/">Azureus</a>.</p>
<p>If you&#8217;re using Firefox and a heavy torrent user at the same time please do try FireTorrent. I highly recommend it! Please do comment because I would love to hear your experience on using FireTorrent.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.raymondselda.com%2Ffiretorrent-bittorrent-made-easy%2F';
  addthis_title  = 'FireTorrent+-+BitTorrent+Made+Easy';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondselda.com/firetorrent-bittorrent-made-easy/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP Pagination Script</title>
		<link>http://www.raymondselda.com/php-pagination-script/</link>
		<comments>http://www.raymondselda.com/php-pagination-script/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 07:54:43 +0000</pubDate>
		<dc:creator>raymondselda</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.raymondselda.com/?p=49</guid>
		<description><![CDATA[As a developer there will come a time when we need to fetch huge amount of records to display on a single page. An example is when you&#8217;re trying to develop an e-commerce site and you need to output lets say 500 book titles. Another example would be in a member management  type of [...]]]></description>
			<content:encoded><![CDATA[<p>As a developer there will come a time when we need to fetch huge amount of records to display on a single page. An example is when you&#8217;re trying to develop an e-commerce site and you need to output lets say 500 book titles. Another example would be in a member management  type of system wherein you need to list all of the registered members of the site. What you need to do is not list all of the records in a single page but rather split the results into pages because users are too lazy to scroll down. This is where pagination comes into play.<span id="more-49"></span></p>
<p>I&#8217;m not going to reinvent the wheel by coming up with another pagination script instead I will suggest that you checkout and try <a title="PHP Pagination Script" href="http://phpsense.com/php/php-pagination-script.html" target="_blank">PHP Pagination Script</a> from <a title="PHP Sense" href="http://phpsense.com/" target="_blank">PHPSense</a>. Its a PHP class that is very easy to integrate with your existing applications by following these few simple steps:</p>
<p><strong>Step One:</strong> Include the pagingation class on the document that will output the long list of records.</p>

<div class="wp_codebox"><table width="100%" ><tr><td colspan="2" class="msgheader"><div class="codebox_right"><a href="###" onclick="copycode($('49code5'));">[Copy to clipboard]</a><a href="###" onclick="toggle_collapse('495');">[<span id="495_symbol">-</span>]</a></div><div class="codebox_left"><span id="l49code5"><a href="#" onclick="javascript:showCodeTxt('49code5'); return false;">View Code</a>PHP</span></div></td></tr><tr id="495"><td class="code" id="49code5"><pre class="php"><span style="color: #808080; font-style: italic;">//Include the Pagination class</span>
<span style="color: #b1b100;">include</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'ps_pagination.php'</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p><strong>Step Two:</strong> Create the pagination object. It expects four parameters:</p>
<ul>
<li>MySQL connection link</li>
<li>SQL query</li>
<li>Number of records to display per page. Defaults to 10</li>
<li>Number of pagination links to display. Defaults to 5</li>
</ul>

<div class="wp_codebox"><table width="100%" ><tr><td colspan="2" class="msgheader"><div class="codebox_right"><a href="###" onclick="copycode($('49code6'));">[Copy to clipboard]</a><a href="###" onclick="toggle_collapse('496');">[<span id="496_symbol">-</span>]</a></div><div class="codebox_left"><span id="l49code6"><a href="#" onclick="javascript:showCodeTxt('49code6'); return false;">View Code</a>PHP</span></div></td></tr><tr id="496"><td class="code" id="49code6"><pre class="php"><span style="color: #b1b100;">include</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'ps_pagination.php'</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//Connection to MySQL database</span>
<span style="color: #0000ff;">$conn</span> = <span style="color: #000066;">mysql_connect</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'localhost'</span>, <span style="color: #ff0000;">'username'</span>, <span style="color: #ff0000;">'password'</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000066;">mysql_select_db</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'yourdatabase'</span>, <span style="color: #0000ff;">$conn</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #0000ff;">$query</span> = <span style="color: #ff0000;">&quot;SELECT * FROM yourtable&quot;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//Create the PS_Pagination object</span>
<span style="color: #0000ff;">$pager</span> = <span style="color: #000000; font-weight: bold;">new</span> PS_Pagination<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$conn</span>, <span style="color: #0000ff;">$query</span>, <span style="color: #cc66cc;">10</span>, <span style="color: #cc66cc;">5</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p><strong>Step Three:</strong> After creating the pagination object, call the paginate() function from the object. This function returns the paginated result set for the current page. You can use this result set just as you would use a standard MySQL result set.</p>

<div class="wp_codebox"><table width="100%" ><tr><td colspan="2" class="msgheader"><div class="codebox_right"><a href="###" onclick="copycode($('49code7'));">[Copy to clipboard]</a><a href="###" onclick="toggle_collapse('497');">[<span id="497_symbol">-</span>]</a></div><div class="codebox_left"><span id="l49code7"><a href="#" onclick="javascript:showCodeTxt('49code7'); return false;">View Code</a>PHP</span></div></td></tr><tr id="497"><td class="code" id="49code7"><pre class="php"><span style="color: #b1b100;">include</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'ps_pagination.php'</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//Connection to MySQL database</span>
<span style="color: #0000ff;">$conn</span> = <span style="color: #000066;">mysql_connect</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'localhost'</span>, <span style="color: #ff0000;">'username'</span>, <span style="color: #ff0000;">'password'</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000066;">mysql_select_db</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'yourdatabase'</span>, <span style="color: #0000ff;">$conn</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #0000ff;">$query</span> = <span style="color: #ff0000;">&quot;SELECT * FROM yourtable&quot;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//Create the PS_Pagination object</span>
<span style="color: #0000ff;">$pager</span> = <span style="color: #000000; font-weight: bold;">new</span> PS_Pagination<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$conn</span>, <span style="color: #0000ff;">$query</span>, <span style="color: #cc66cc;">10</span>, <span style="color: #cc66cc;">5</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0000ff;">$results</span> = <span style="color: #0000ff;">$pager</span>-&amp;gt;paginate<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//Loop through the result set</span>
<span style="color: #b1b100;">while</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$row</span> = <span style="color: #000066;">mysql_fetch_array</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$results</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #000066;">echo</span> <span style="color: #0000ff;">$row</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'yourfield'</span><span style="color: #66cc66;">&#93;</span>;
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p><strong>Last step:</strong> Display the pagination links by calling the renderFullNav() function.</p>

<div class="wp_codebox"><table width="100%" ><tr><td colspan="2" class="msgheader"><div class="codebox_right"><a href="###" onclick="copycode($('49code8'));">[Copy to clipboard]</a><a href="###" onclick="toggle_collapse('498');">[<span id="498_symbol">-</span>]</a></div><div class="codebox_left"><span id="l49code8"><a href="#" onclick="javascript:showCodeTxt('49code8'); return false;">View Code</a>PHP</span></div></td></tr><tr id="498"><td class="code" id="49code8"><pre class="php"><span style="color: #b1b100;">include</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'ps_pagination.php'</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//Connection to MySQL database</span>
<span style="color: #0000ff;">$conn</span> = <span style="color: #000066;">mysql_connect</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'localhost'</span>, <span style="color: #ff0000;">'username'</span>, <span style="color: #ff0000;">'password'</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000066;">mysql_select_db</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'yourdatabase'</span>, <span style="color: #0000ff;">$conn</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #0000ff;">$query</span> = <span style="color: #ff0000;">&quot;SELECT * FROM yourtable&quot;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//Create the PS_Pagination object</span>
<span style="color: #0000ff;">$pager</span> = <span style="color: #000000; font-weight: bold;">new</span> PS_Pagination<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$conn</span>, <span style="color: #0000ff;">$query</span>, <span style="color: #cc66cc;">10</span>, <span style="color: #cc66cc;">5</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #0000ff;">$results</span> = <span style="color: #0000ff;">$pager</span>-&amp;gt;paginate<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//Loop through the result set</span>
<span style="color: #b1b100;">while</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$row</span> = <span style="color: #000066;">mysql_fetch_array</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$results</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #000066;">echo</span> <span style="color: #0000ff;">$row</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'yourfield'</span><span style="color: #66cc66;">&#93;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #808080; font-style: italic;">//Display the navigation</span>
<span style="color: #000066;">echo</span> <span style="color: #0000ff;">$pager</span>-&amp;gt;renderFullNav<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>As you can see its very simple to use in your applications. Paginating pages is one of the most commonly requested functions in websites and this is one of the many scripts that can really help you with your projects. I have been looking for a pagination script for a while now and by far this is the best and most efficient pagination script I&#8217;ve used. As always feel free to suggest if you&#8217;re using any pagination scripts. Hoping to learn from you guys. Thanks for reading.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.raymondselda.com%2Fphp-pagination-script%2F';
  addthis_title  = 'PHP+Pagination+Script';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondselda.com/php-pagination-script/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Making of Zildjian Cymbals</title>
		<link>http://www.raymondselda.com/48/</link>
		<comments>http://www.raymondselda.com/48/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 03:58:30 +0000</pubDate>
		<dc:creator>raymondselda</dc:creator>
		
		<category><![CDATA[Drumming]]></category>

		<guid isPermaLink="false">http://www.raymondselda.com/?p=48</guid>
		<description><![CDATA[Ever wonder why Zildjian cymbals are too expensive? Check this video and you&#8217;ll find out why&#8230;


  addthis_url    = 'http%3A%2F%2Fwww.raymondselda.com%2F48%2F';
  addthis_title  = 'Making+of+Zildjian+Cymbals';
  addthis_pub    = '';

]]></description>
			<content:encoded><![CDATA[<p>Ever wonder why Zildjian cymbals are too expensive? Check this video and you&#8217;ll find out why&#8230;</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="wmode" value="transparent" /><param name="src" value="http://www.youtube.com/v/zyynDsMhb7g&amp;hl=en" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://www.youtube.com/v/zyynDsMhb7g&amp;hl=en" wmode="transparent"></embed></object></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.raymondselda.com%2F48%2F';
  addthis_title  = 'Making+of+Zildjian+Cymbals';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondselda.com/48/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hacking WP-EMail</title>
		<link>http://www.raymondselda.com/hacking-wp-email/</link>
		<comments>http://www.raymondselda.com/hacking-wp-email/#comments</comments>
		<pubDate>Mon, 31 Mar 2008 01:07:54 +0000</pubDate>
		<dc:creator>raymondselda</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.raymondselda.com/?p=47</guid>
		<description><![CDATA[WP-EMail is one of the many Wordpress email plugins that I decided to use in my recent project. Installation instructions were pretty straightforward but after filling out the fields and hitting the submit button I received a &#8220;Language failed to load: instantiate&#8221; error. I then decided to look for support in their forum and I [...]]]></description>
			<content:encoded><![CDATA[<p><a title="WP-Email Website" href="http://www.lesterchan.net/wordpress/readme/wp-email.html" target="_blank">WP-EMail</a> is one of the many Wordpress email plugins that I decided to use in my recent project. Installation instructions were pretty straightforward but after filling out the fields and hitting the submit button I received a <em>&#8220;Language failed to load: instantiate&#8221;</em> error. I then decided to look for support in their forum and I landed <a href="http://forums.lesterchan.net/index.php/topic,1407.0.html">here</a>. I followed all the suggestions in the forum and exhausted all of the options for configuring WP-EMail but still there were all these different errors coming out.</p>
<p>Thats when I decided to go back to <a title="PHP Website" href="http://www.php.net/" target="_blank">PHP</a> basics of sending email to check if the server is really capable of sending one.<span id="more-47"></span> I opened up the PHP manual and used this basic code:</p>

<div class="wp_codebox"><table width="100%" ><tr><td colspan="2" class="msgheader"><div class="codebox_right"><a href="###" onclick="copycode($('47code12'));">[Copy to clipboard]</a><a href="###" onclick="toggle_collapse('4712');">[<span id="4712_symbol">-</span>]</a></div><div class="codebox_left"><span id="l47code12"><a href="#" onclick="javascript:showCodeTxt('47code12'); return false;">View Code</a>PHP</span></div></td></tr><tr id="4712"><td class="code" id="47code12"><pre class="php"><span style="color: #0000ff;">$to</span> = <span style="color: #ff0000;">'nobody@example.com'</span>;
<span style="color: #0000ff;">$subject</span> = <span style="color: #ff0000;">'the subject'</span>;
<span style="color: #0000ff;">$message</span> = <span style="color: #ff0000;">'hello'</span>;
<span style="color: #0000ff;">$headers</span> = <span style="color: #ff0000;">'From: webmaster@example.com'</span> . <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span> .
<span style="color: #ff0000;">'Reply-To: webmaster@example.com'</span> . <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span> .
<span style="color: #ff0000;">'X-Mailer: PHP/'</span> . <span style="color: #000066;">phpversion</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000066;">mail</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$to</span>, <span style="color: #0000ff;">$subject</span>, <span style="color: #0000ff;">$message</span>, <span style="color: #0000ff;">$headers</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>Fortunately it worked. If that little snippet worked then I could replace the existing code from the plugin and replace it with this basic one because all the plugin has to do is send out an email. (I have to include headers because in some cases in different servers the PHP mail function wouldn&#8217;t work without it) I then opened up email.php (inside /wp-content/plugins/email/), went to line 881 then edited it to:</p>

<div class="wp_codebox"><table width="100%" ><tr><td colspan="2" class="msgheader"><div class="codebox_right"><a href="###" onclick="copycode($('47code13'));">[Copy to clipboard]</a><a href="###" onclick="toggle_collapse('4713');">[<span id="4713_symbol">-</span>]</a></div><div class="codebox_left"><span id="l47code13"><a href="#" onclick="javascript:showCodeTxt('47code13'); return false;">View Code</a>PHP</span></div></td></tr><tr id="4713"><td class="code" id="47code13"><pre class="php"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #000066;">mail</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$to</span>, <span style="color: #0000ff;">$subject</span>, <span style="color: #0000ff;">$message</span>, <span style="color: #0000ff;">$headers</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></pre></td></tr></table></div>

<p>Then just above it I declared the mail function variables and assigned the variables used in the plugin like this:</p>

<div class="wp_codebox"><table width="100%" ><tr><td colspan="2" class="msgheader"><div class="codebox_right"><a href="###" onclick="copycode($('47code14'));">[Copy to clipboard]</a><a href="###" onclick="toggle_collapse('4714');">[<span id="4714_symbol">-</span>]</a></div><div class="codebox_left"><span id="l47code14"><a href="#" onclick="javascript:showCodeTxt('47code14'); return false;">View Code</a>PHP</span></div></td></tr><tr id="4714"><td class="code" id="47code14"><pre class="php"><span style="color: #0000ff;">$to</span> = <span style="color: #0000ff;">$friendemail</span>;
<span style="color: #0000ff;">$subject</span> = <span style="color: #0000ff;">$template_email_subject</span>;
<span style="color: #0000ff;">$message</span> = <span style="color: #0000ff;">$template_email_bodyalt</span>;
<span style="color: #0000ff;">$headers</span> = <span style="color: #ff0000;">'From: webmaster@example.com'</span> . <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span> .
<span style="color: #ff0000;">'Reply-To: webmaster@example.com'</span> . <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span> .
<span style="color: #ff0000;">'X-Mailer: PHP/'</span> . <span style="color: #000066;">phpversion</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>Also don&#8217;t forget to set the send email method to &#8220;PHP&#8221; in the email options. This kind of editing will ignore the PHPMailer class that the plugin is using and hopefully send that email to your friend.</p>
<p>As always I&#8217;m open to your suggestions and violent reactions and if you know any other alternatives in tweaking WP-EMail please don&#8217;t hesitate to share it. Thanks for reading and you can see a live example of what I&#8217;ve discussed <a title="Dale Siegel Blog" href="http://www.dalesiegel.com/" target="_blank">here</a>.</p>
<p>Many thanks to <a title="Lester Chan's website" href="http://lesterchan.net/blogs/" target="_blank">Lester Chan</a> for developing this great plugin! I hope to hear your thoughts regarding this fix.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.raymondselda.com%2Fhacking-wp-email%2F';
  addthis_title  = 'Hacking+WP-EMail';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondselda.com/hacking-wp-email/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Drum Lessons with Jun Regalado</title>
		<link>http://www.raymondselda.com/drum-lessons-with-jun-regalado/</link>
		<comments>http://www.raymondselda.com/drum-lessons-with-jun-regalado/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 03:53:29 +0000</pubDate>
		<dc:creator>raymondselda</dc:creator>
		
		<category><![CDATA[Drumming]]></category>

		<guid isPermaLink="false">http://www.raymondselda.com/drum-lessons-with-jun-regalado/</guid>
		<description><![CDATA[Last week I started to take drum lessons with Mr. Jun Regalado, one of the most top-rated independent session drummers here in the Philippines. After 4 to 5 years of little drumming activity because I have to finish college so I can have some sort of a fallback whenever things didn&#8217;t work out for my [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jazzsociety.ph/html/spotlightarchive2.html" title="Jun Regalado"><img src="http://www.raymondselda.com/wp-content/uploads/2008/03/junregalado.thumbnail.jpg" alt="Jun Regalado" /></a>Last week I started to take drum lessons with Mr. Jun Regalado, one of the most top-rated independent session drummers here in the Philippines. After 4 to 5 years of little drumming activity because I have to finish college so I can have some sort of a fallback whenever things didn&#8217;t work out for my drumming, I figured out that it would be great to start drumming again with Sir Jun.</p>
<p>One of the first thing he asked me was to play a groove so he could hear the crap that I will make. hehehe. But seriously he will point out the inconsistencies in your playing which will make you aware of the sound you&#8217;re making with the drums. We then proceeded with wrist stroke studies and some materials that basically lubricated my drumming gills. My first lesson with him started out real good and I know this will be the start of a good drumming comeback for me.</p>
<p>Having a good drum teacher and mentor can really help you a lot especially when seeking advice, how to execute things easier and a lot more. Make an investment to find one because this will help you in the long run.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.raymondselda.com%2Fdrum-lessons-with-jun-regalado%2F';
  addthis_title  = 'Drum+Lessons+with+Jun+Regalado';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondselda.com/drum-lessons-with-jun-regalado/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing Dreamweaver in Ubuntu</title>
		<link>http://www.raymondselda.com/installing-dreamweaver-in-ubuntu/</link>
		<comments>http://www.raymondselda.com/installing-dreamweaver-in-ubuntu/#comments</comments>
		<pubDate>Thu, 10 Jan 2008 15:29:31 +0000</pubDate>
		<dc:creator>raymondselda</dc:creator>
		
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.raymondselda.com/installing-dreamweaver-in-ubuntu/</guid>
		<description><![CDATA[When it comes down to code editors I&#8217;m a bit obsessed in finding the perfect tool for the job. Back when I was using Windows, I tried several code editors for PHP. PHP Expert Editor was my first editor. I also tried PHP Designer, Komodo, PHPEd, Maguma and of course Dreamweaver. You can find a [...]]]></description>
			<content:encoded><![CDATA[<p>When it comes down to code editors I&#8217;m a bit obsessed in finding the perfect tool for the job. Back when I was using Windows, I tried several code editors for PHP. PHP Expert Editor was my first editor. I also tried PHP Designer, Komodo, PHPEd, Maguma and of course Dreamweaver. You can find a good list of PHP editors <a title="PHP Editors" href="http://www.php-editors.com/review/">here</a>.</p>
<p>When I switched to Ubuntu I avoided installing windows based software in Linux using Wine. I didn&#8217;t became comfortable with some of the Linux-based editors so I decided to install Dreamweaver in Ubuntu. I did a basic Google search and found this very practical way of <a title="Installing Dreamweaver in Ubuntu" href="http://gamerssoft.com/index.php?page=blog&amp;article=dreamweaver" target="_blank">installing Dreamweaver in Ubuntu</a>. So without wasting any second I installed Dreamweaver using Wine and to my delight everything went okay.</p>
<p>I&#8217;m not expecting this would be the perfect setup for me but as of now everything is a-ok! I&#8217;m still on my quest to search for the holy grail of PHP editors! Until then&#8230; Happy coding!</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.raymondselda.com%2Finstalling-dreamweaver-in-ubuntu%2F';
  addthis_title  = 'Installing+Dreamweaver+in+Ubuntu';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://www.raymondselda.com/installing-dreamweaver-in-ubuntu/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
