Couldn't execute query from page analogize.php