Introduction to Codeigniter

Most of us just want to write applications that work well, and to do it as simply and easily as we can. If you need to produce results, if you think that the details and intricacies of coding are for geeks, then you should look at CodeIgniter (CI to its friends). CI is free, lightweight, and simple to install, and it really does make your life much easier. If you are already writing code in PHP, CodeIgniter will help you to do it better, and more easily. It will cut down on the amount of code you actually type.… Read More »

Posted: 08 Jul 2010 Category: code


Logic Programming

This is one question that came out during PHP Programming Interview. Displaying random number from 1-100 and is sorted as much as the number who entered. eg input 8 results: Show eight times a random number from 1-100: 5, 84, 97, 19, 71, 31, 45, 90 Result sequence of random numbers from small to large: 5, 19, 31, 45, 71, 84, 90, 97 so,i'm gonna use bubble sort for sorting, but what is bubble sort? Bubble sort is a simple sorting algorithm. It works by repeatedly stepping through the list to be sorted, comparing each pair of… Read More »

Posted: 02 Jul 2010 Category: code