Category Archives: PHP

This is focused on the PHP language

The Modulus Operator

I was looking through my JavaScript operators the other day and came across the modulus operator.  The modulus operator is used in almost all programming languages, and usually it is represented by a “%” sign.  It performs what is called … Continue reading

Posted in JavaScript, PHP, Web Development | Leave a comment

PHP Sorting and Renumbering Array Keys

In a previous article I covered sorting arrays when you need to maintain key-value relationships. There are times when your interested in sorting array values, and then have the array keys match the sort. There are three array sorts you … Continue reading

Posted in Sorting Arrays | Leave a comment

Kohana 3 ORM – Query Building and Key Word Search

I’ve been working on a project over the last couple of months using the Kohana 3 framework. I’ve been knee deep in code. When I’m in this mode, and I run into a problem that takes me a couple of … Continue reading

Posted in Kohana 3 | 1 Comment

PHP Sorting while Maintaining Key and Value Relations

PHP has many built in array sorting functions. They are simple to use and provide a multitude of sorting options. I’ll cover the sorting in three articles.  These first sort functions all maintain the association between the key fields and … Continue reading

Posted in Sorting Arrays | Leave a comment

Kohana 3 ORM – Creating a Form Select List

Working with the Kohana 3 ORM, I went through the documentation, and didn’t find anything on getting data back from the database, and creating a drop down select list in a form. This involved using a form, the ORM, and … Continue reading

Posted in Kohana 3 | 6 Comments