To be honest, I don't do code generators (not for PHP, not for CSS, not for anything)
If you don't have a clue about what you're doing, it may solve the problem at hand and you can look at the code and learn from it. But if you understand what's going on, chances are that you'll be able to write better code by yourself
Before asking, do a search... if you don't find the answer, then ask The purpose of this forum is to help others in the community, that's why it's called Sitepoint and not Linkpoint. SP Guidelines - No fluff.
Bookmarks