The title is pretty self-explanatory. I'm working on a PHP engine, and I'm trying to implement a SQL query generator. The hardest part of this will be designing the system for using the SELECT command.
Are there any practices that I should try to follow when designing this, or any engines already in existence that I could model my engine after?
Thanks,
~Trey