Hi todd,
while in your first code example you are passing an parameter
list, in your second example you are passing a
string.
So I've tried
eval('$dbh->do('.$sql.');');
which ran without errors. But I guess there's a more nice way in doing this also. So far ...