hercioneto

Alterar Cliente

May 20th, 2019
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.32 KB | None | 0 0
  1. <?php
  2. include "Clientes.php";
  3. $cliente = new Clientes();
  4. $idCliente = $_POST["idCliente"];
  5. $nome = $_POST["nome"];
  6. $dataNascimento = $_POST["dataNascimento"];
  7. $cliente->setIdCliente($idCliente);
  8. $cliente->setNome($nome);
  9. $cliente->setDataNascimento($dataNascimento);
  10. $dados = $cliente->alterar();
  11. var_dump($dados);
  12. ?>
Add Comment
Please, Sign In to add comment