Pegar informações do array e inserir no formulario.
Pessoal depois de procurar bastante achei esse código "https://github.com/Massa191/Consultas_CNPJ_CPF_Receita_Federal" que me retornar o Nome e a situação do "CPF".
EX: Array ( [0] => **xxx.xxx.xxx-xx** [1] => NOME COMPLETO** **[2] => **xx****/****xx****/****xx****xx** [3] => **REGULAR** [4] => **30/08/2010** [status] => OK )
<form method="POST" id="form" name="frmcpf" action=" >
<fieldset id="dadosPessoais" class="estilocadastrocliente">
<legend><sup>DADOS PESSOAIS</sup></legend>
<p><label for="cNome">Nome Completo:</label>
<input type="text" required="" name="tNome" id="cNome" /></p>
<p><label for="cCpf">CPF/CNPJ:</label>
<input type="text" required="" name="cpf" size="20" />
<label for="cId">Identidade:</label>
<input type="text" name="tId" id="cId" /></p>
<p><label for="cNasc">Nascimento:</label>
<input type="text" name="tNasc" id="cNasc" /></p>
</fieldset>
</form>
Como ainda não tenho muito conhecimento gostaria de saber qual a maneira que eu posso usar para pegar essa array e inserir nos dados no campo ?
Discussão (3)
Carregando comentários...