Queries were not adjusted for live DB

Adjusted queries for lvie DB.

Also, this may be a problem on live site and might be a local only
thing:
action="./codeinput.php?problemId=' . $_GET['problemId'] . '">