Tableless Categories in OSCommerce listing

March 28th::2007The categories.php page in oscommerce is coded fairly stupid. Stupid enough that you can't just glance at it and know what it is doing. I found no quick help on how to strip the tables out and apply nested unordered lists (ul & li) for the categories.

Using PHP to find a color's complement

November 22nd::2006People know a color's complement as being the color opposite it on the color wheel. When you add these two colors together, you get a shade of gray (including white or black). I use this to find the color complement in a function. I'd like to break this o

Finding Combinations with PHP Arrays

November 1st::2006I wrote this to find combinations for an advanced sudoku generator. The code is commented so it should make sense. It is also a good function if you are just getting into recursion to look at.

Creating a Sudoku Solver (Sudoku Part II)

October 24th::2006This is the second article of a growing obsession with sudoku programming. Below is the code for my sudoku puzzle solver. The code is well documented and easy to understand, as long as you are comfortable with recursion (the recursion is limited and the

Creating a Sudoku Generator

October 11th::2006Coding this took a little longer than I expected, but it was well worth it. I suggest trying this challenge to anyone who is interested in learning about object oriented programming. This is a very simple version, which I intend to upgrade over time.