Quote by DubiousChrisJ: Resource ID #225
That's what you get when you echo out the result of a database query and usually indicates a bug in the script in question.
Since I don't know what's in your lib-custom.php I can't really be any more specific ...
bye, Dirk