p.s: Helping with homework is a bad thing. :( So next time, in order for you to learn yourself, try researching (via google) and then if you hit a problem, consult the forums).
This is true, altough, helping people with homework is ok, as long as we are explaining how to write the code rather that writing it for them. So your responce was pretty good.
Thread titles, however, should descripe the topic of the thread. "PHP help" is not a good title, as it explains nothing and will return nothing if our fellow members are searching for a similar problem. It is also more likely that the thread will catch the eyes of our Experts if they are propperly named.
Which is why I have edited the title of this thread.
These rules, aswell as our complete list of rules, can be found in our
Posting Guidelines, which every member should read through attleast once.
MODERATOR