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

Bugs:
1 "No image found" shows for all displayed sets, works as normal for parts. Will fix this with the redone displayDB function