Recent Posts

C# Utility Class - Mersenne Twister

I've used this code in a few projects when I need a better random value than the Random class in .NET provides. I did not create or improve this class; it is merely here to provide another potential source to acquire the code.

Enjoy!

Overloading Constructors in Java

Overloading: bad for boats, but endlessly useful in the programming world. In this post, I'll show you how to take advantage of this core concept in Java.

Let's assume you have a decent grasp on OOP. You can create basic classes containing fields and properties, and maybe a handful of utility methods. Great! Now, let's assume you have built this class:

The Not-So-Great PHP/MySQL Tutorial, Part 2

So, assuming you read (and completed) Part 1, you should have a functional database connection script and an input page. Part 2 will cover how we get our data back out of the database.

To keep things simple, we’re going to load our data out into a table. It’s a simple and valid way of displaying tabular (table-based) data. Once you understand what’s going on in this tutorial, it’s relatively simple to develop alternative methods of displaying our tables.