Ver original$consulta = "SELECT * FROM usedcodebar WHERE usedcodebar.HoraEnt like '$ano-$mes-$dia%'";