PHP library for generating SQL
I need a really simple library (like a 1 file sort of thing) tha开发者_开发技巧t generates SQL for me. I just need functions that perform INSERTions and SELECTions and that return the actual SQL string, nothing else, no connection thing no compatibility layer, just plain SQL strings from PHP data structures.
Does anything like this exist? Thanks.
I found this graceful and beautifully simple library:
http://www.phpclasses.org/package/2813-PHP-Dynamically-build-SQL-queries.html
works great!
精彩评论