0
Hello, I’m having a problem picking up the dice one-table static and send to another page with the form to fill in the input that form with the dice table.
I would like help.
in the list Client.php has:
 <table class="table">
    <tr class="tb_column tb_cabecalho">
        <td>ID</td>
        <td>Nome</td>
        <td>E-mail</td>
        <td>Ações</td>
    </tr>
    <tbody>
    <form action="" method="get">
        <?php
        $id = "1";
        $nome = "José Carlos";
        $email = "[email protected]";
        ?>
        <tr class="cinza">
            <td><?php echo $id; ?></td>
            <td><?php echo$nome; ?></td>
            <td><?php echo$email; ?></td>
            <td>
                <button class="btn_padrao btn_margin" type="submit" title="Editar" alt="[Editar]"><a href="index.php?link=4">Editar</a></button>
                <button class="btn_padrao btn_margin" title="Excluir" alt="[Excluir]">Excluir</button>
                <button class="btn_padrao btn_margin" title="Matricular" alt="[Matricular]">Matricular</button>
            </td>
        </tr>
    </form>
    </tbody>
</table>
in the register.php has:
<form>
        <?php
        @$nome = $_GET['nome'];
        @$email = $_GET['email'];
        echo $nome;
        ?>
        <label>Nome</label>
        <input type="text" name="nome" value="<?php echo $nome; ?>" />
        <label>E-mail</label>
        <input type="email" name="email" value="<?php echo $email; ?>"/>
        <div class="me">
            <label>Senha</label>
            <input type="text" name="senha" />
        </div>
    </form>
						
Thank you very much. It helped me a lot. It worked
– carlos