bom Lokos, vou tentar ajudar.... Código PHP: $cnpj = "000001";$sth = $lokos->prepare = ("INSERT INTO CLENTES (CNPJ) VALUES (?)");$sth->bindParam(1, $cnpj, PDO::PARAM_STR);$sth->execute(); Espero que ajude.
$cnpj = "000001";$sth = $lokos->prepare = ("INSERT INTO CLENTES (CNPJ) VALUES (?)");$sth->bindParam(1, $cnpj, PDO::PARAM_STR);$sth->execute();
Última edição por Matheus SC.; 06-07-2015 às 12:10 PM.
Há 1 usuários navegando neste tópico. (0 registrados e 1 visitantes)
Regras do Fórum