Recent Posts:

Building Dynamic SQL String from Associative Array

It would be nice to have functions that convert associative arrays to SQL queries. Such a function will save our time from building queries. The functions take two main parameters, the name of the table and the data to be inserted in associative array. Read more

Converting Tag's Properties Into Associative Array

You've fetched an HTML page and your code needs to read the properties of the some tags in it. Learn how to convert tag's properties into associative array using this code. Read more

Displaying Sequential Images with Pagination

Display your sequential images and the pagination with this code snippets Read more

Getting File's Extension with Regular Expression

Getting file's extension is not as easy as it looks. This is because there is no strict format for file extensions. To obtain the extension from file names, you have to use regular expression. See the following example. Read more

Starting Zend Framework

After building lots of projects, I realize that I spend a lot of time just to writing repeating (and boring) code; select, insert, delete, and update rows. I have to find a way to increase my coding speed, and I choose Zend Framework. Read more

Solving Simultaneous Equations Order 3

I want to write javascript code to solve simultaneous equations order 3, just for fun. The challenge is to write the smallest code as possible. Check out the code and send to me your smaller code! Read more

Determinant of 3-by-3 matrices

The formula of the determinant of 3-by-3 matrices, with the javascript code to calculate the numbers. You'll need this to solve the simultaneous equations order 3 problems. Read more

Displaying Random Quotes

Displaying random quotes is the easiest thing to do with PHP. But in case you don't know how, here it is. Read more

Solving Simultaneous Equations Order 2

Derive the expression for x and y in simultaneous equations order 2. Use the obtained expressions in javascript code and solve all simultaneous equations problems! Read more

Determinant of 2-by-2 matrices

The determinant of 2x2 matrix { {a, b}, {c, d} } would be: ad-bc. And the javascript code cannot be less than 1 line! Read more