I actually spent a great deal of time trying to make purely array based query
builders, and came to the conclusion that it's not possible to make a really
robust one. However, you can do it with OO and arrays.
Have a look at Drupal 7 (current development version of the Drupal CMS). It
include
Multi-dimensional arrays generally indicate some kind of glue/hanging table, so
you'll have to special case them for your needs...
But here is a generic insert and update functions that may be a groundwork for
you
/**
* Insert a single row into a $database.$table from an array hash of colum
2 matches
Mail list logo