Hi timvw, you've won an award! I Am The Manual Award And the beauty is, you now have a badge to show for it! Smile You can download it and use them as your avatar or in your signature: Congratulations patrikG _________________ Forum Rules How to get what you want! PHP Manual! This isn't the code you're looking for.