[eluser]Dam1an[/eluser]
That has got to be painfully inefficient right?
I mean you do 3 queries (blank insert, fetch ID and update) instead of just the insert (and optionally getting the ID)
Also, as bargainph mentioned, if I was to do this for my tables, I would need to pass an entire null array, or have a load of nullable columns
The only potential reasoning I can think of for this approach is that you only have one worker method, and one accessor, instead of 2 worker methods (not that an intert is a lot of work... in fact, they're making it MORE work)