Good morning. I wanted to know how I can get the information I want to be sent into input (Client Name), because I made the select and the information was not placed in the form field, it was on top. Follow my code below.
PHP
<body>
<?php
include_once '../DAO/Connect.php';
include_once '../model/Cliente.php';
$conexao = new Conexao();
$cliente = new Cliente();
$cliente = $conexao->selectCliente("_ID=" . '10');
$cliente->getNome();
echo $cliente->getNome(); ?>
HTML
<form action="#" method="get">
<label>Nome Cliente</label><br />
<input type="text" name="nome" size="80" /><br />
<label>Nome Fantasia</label><br />
<input type="text" name="nome-fantasia" size="80" /><br />
<div class="ao-lado">
<label>CNPJ/CPF</label><br/>
<input type="text" name="cpf" size="37" />
</div>
</form>