Weird JavaScript/MySQL issue

Printable View