Codeigniter: Creating dynamic graphs using JQuery and FusionCharts

I recently upgraded some of my Codeigniter applications that used OpenFlashCharts to using FusionCharts Free, and at the same time incorporated some javascript to allow me to change the graphs dynamically at the client-side. This has greatly improved the usability of my charts and graphs that I pump out. As such, I thought I would share how I did this and hopefully someone will find it useful as well.

Read the rest of this post »

Posted on July 30, 2010 at 6:13 pm by Eldee · Permalink · 18 Comments
In: PHP Tutorials · Tagged with: , ,

PHP and jQuery: Submit a form without refreshing the page

Lately, I’ve been chancing on quite a number of posts at various places asking about how to perform a web action without the webpage reloading/refreshing? For example, dynamically updating a list on a page without a reload or submitting a form to PHP without leaving the webpage the form sits on.

I guess this is as good a time to start branching into some posts on PHP and Javascript, or more specifically, jQuery.

Read the rest of this post »

Posted on June 9, 2010 at 2:55 pm by Eldee · Permalink · 72 Comments
In: PHP Tutorials · Tagged with: , ,

Google Analytics officially uses the Asynchronous Tracking tag

Google Analytics tagging is now officially changed to the what Google calls Asynchronous Tracking, which came out of beta last week. The new tracking tag is the default and recommended code to use, and shows up in your Google Analytics’ admin interface.

Read the rest of this post »

Posted on May 20, 2010 at 5:31 pm by webmaster · Permalink · Comments Closed
In: News · Tagged with: ,

PHP Basics: Sorting Arrays

Arrays are wonderful things. I can’t imagine using a programming language that does not have support for arrays. For newbies, arrays might be something that’s difficult to understand at first, but once you get used to it, it’s almost impossible to live without. Guaranteed!

If you are not familiar with what arrays are, visit the PHP manual. Alternatively, there’s a introduction to arrays at

In this post, I’m not going to cover the same ground but instead touch on sorting of arrays.

Read the rest of this post »

Posted on March 14, 2010 at 10:56 pm by Eldee · Permalink · 8 Comments
In: PHP Tutorials · Tagged with: ,

Google Analytics Master Class is back in Singapore!

Last year, I attended the first ever Google Analytics Master Class held here in Singapore. I had a great time. It was a half day packed with excellent presentations for both existing GA users and new people looking to adopt GA.

Well, come March 9, 2010, its back in Singapore! Not only that, folks in Kuala Lumpur, Malaysia will also get their own Google Analytics Master Class on March 11, 2010

Read the rest of this post »

Posted on March 1, 2010 at 11:01 am by Eldee · Permalink · One Comment
In: News · Tagged with: 

Codeigniter: Handling errors

As coders, I’m sure we all know the value of good error handling. So I thought a quick post about how Codeigniter deals with those pesky errors would be a good post.

The way I see it, there are 2 types of errors we have to work with. The ones which are displayed out in nice friendly text to your users, and the type which are hidden and shown only to you as the coder to figure out where something has gone wrong. CI provides the means to do both, thankfully.

Read the rest of this post »

Posted on February 9, 2010 at 12:19 pm by Eldee · Permalink · 9 Comments
In: PHP Tutorials · Tagged with: ,

Pentaho: A beginner’s perspective

For the last 6 months, I’ve been buried deep in the world of Business Intelligence (or BI for short) and the mind-numbing field that is Data Warehousing and Data Mining. Given that I’m not really a database person, and I only use MySQL with my PHP development, this was a whole new experience for me.

I’m writing this post because when I first laid my eyes on Pentaho, I was confused as hell. What I didn’t know was that Pentaho is not a single product, but a collection of open-source tools that have been meshed together to form a suite for BI. All the documentation and writeup at the website on the different aspects of Pentaho just didn’t gel together, leading to a very steep learning curve.

Hence, I’m just going to briefly cover the various aspects that makes up Pentaho, so that if you are just starting to use Pentaho, this would hopefully give you a good overview.

Read the rest of this post »

Posted on January 7, 2010 at 5:28 pm by Eldee · Permalink · 13 Comments
In: Pentaho · Tagged with: , ,

Site Update: 2 years old!

Come December 4th, this site will be 2 years old! How time flies. To mark this occasion, I’ve revamped the look of the site, and will continue to tweak various things in the days ahead.
Read the rest of this post »

Posted on November 29, 2009 at 11:36 am by Eldee · Permalink · Comments Closed
In: News · Tagged with: 

Codeigniter: Intergrating OpenFlashCharts

Yes I know, it has been some time since I last posted anything on the site. Things have just been crazy at work, trying to get up to speed on using Pentaho for a major project. In fact, I might start posting some Pentaho related topics in the future. There’s definitely a need for more help and guides on using Pentaho for beginners.

Anyway, one of the things on the project was to pull data from Pentaho and display it inside OpenFlashCharts on a CI platform. If you don’t know what OpenFlashCharts is, go visit the website. It’s a pretty awesome kit.

There’s been quite a bit of chatter on the net about integrating CI with OpenFlashCharts, but ever since version 2 came out there have been more questions about how to do it.
Read the rest of this post »

Posted on November 6, 2009 at 1:12 pm by Eldee · Permalink · 7 Comments
In: PHP Tutorials · Tagged with: , ,

Codeigniter: Setting up multiple sites on one install

It’s been awhile since I last posted about Codeigniter. In this post, I’m going to walkthrough how I setup a CI install that can support multiple sites. This is by no means the only way to do it, but it’s what works for me.

CI’s default folder structure is really geared towards one site domain, and having both the application folder and the system folder visible to the browser is not exactly a secure approach.

By configuring your install to support multiple sites, not only do you make the updating of the CI core easier, but also make the CI install more secure as a whole. So without delay, let’s get started…

Read the rest of this post »

Posted on August 19, 2009 at 4:19 pm by Eldee · Permalink · 22 Comments
In: PHP Tutorials · Tagged with: , ,