Triple...
buffi, welcome to the forums and PHP. You will find that you will get good help here, especially if you stick with the forum's guidelines and refrain from posting the same question to multiple threads. It only leads to confusion for you, as well as those helping you. Please keep all of your follow-up to this question at the thread found here. Sidney was very helpful to you there.
Again, welcome to the forums and to PHP. Hope you have a good time learning and sharing in the future.
Oh, here's a few other helpful tips...
1) Always post applicable code when you ask questions. It makes it easier for the "regs" to help you out.
2) Read the Stickies in the various threads. They provide a ton of learning info for various things ranging from commonly asked coding questions to forum ettiquette.
3) Have fun learning!