[eluser]Dam1an[/eluser]
Posting the URL for my query lost the quotes around PHP and forum... Oh well, you've got some to look at, so it doesn't matter anyway
And I assumed it would be a model/object? But if you want a single file, then go for it
(Earlier on, when I said all the database stuff would be in one place, I mean in one folder as oppose to one file, instead of throughout all your models etc