PHP code fix 2

1 Removed submitQuery function, replaced with separate fixed SQL-return
validation
2 Started changing the displayDB function data flow: changed from call
by args to save args in $_SESSION