rundql(code, funcwhendone)

Parameters

- code the dql code or a page starting with a dql code

- funcwhendone your own handler of what to do with the result. Default is to output a message ok on success and the error message on failure like in testing

The funcwhendone should be defined as function(jdata) where jdata is a json object.