Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="br">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="description" content="">
- <meta name="author" content="">
- <title>Excluir Marca</title>
- </head>
- <body>
- <?php
- require "Marca.class.php";
- if ($_GET) {
- $id = $_GET["id"];
- $marcas = new Marca();
- $marcas ->buscar($id);
- ?>
- Excluir Marca
- <form method="post" action="delMarca.php">
- <label for="marca">Marca</label>
- <input type="hidden" name="idMarca" value="<?php echo $marcas->getIdMarca(); ?>"/>
- <input id="marca" name="marca" value="<?php echo $marcas->getMarca(); ?>" type="text" placeholder="Nome da Marca" disabled>
- <button class="btn btn-primary btn-block" type="submit">Excluir</button>
- </form>
- <?php }
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment