Thanks Mark, i will take a look at those snippets 🙂
and greg, thanks for the idea, but i would prefer to code it in PHP/mySQL because i'd like to edit the code myself and make it better etc, i don't really wan't to rely on a pre-coded script. but cheers for the idea.