PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
VladSun wrote:
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime."
Not relevant here. OP's question was quite clear, it wasnt' about best practices or comparison of different methods. All he asked for was the correct syntax and that's what I offered.