Fix bug consulta.php

fix bug and add Netbeans Project