It cunting works now. That was a fun morning doing it all over again. Will output an array of arrays, currently only with the select * from users query. Working on generalising now, unforunately this will take time. Likely days.