stage 2 of queries written, output to php webpage
conforming to master changes
Merge remote-tracking branch 'origin/master' into rb_adv_queries
updated
updated
sql cleaned and sanity checks added
queries corrected to comply to sanity checks
advanced queries added
debug script added to only output query
rm scratch work
jQuery set reinstated
set up to return working JSON to front end
merge advanced queries