Change the column order to a more logical sequence
Use the api version of DB_query to avoid html being returned