PHP Classes

File: api/view/cliente_form.php

Recommend this page to a friend!
  Classes of adriano123456   PHP CRUD API Example   api/view/cliente_form.php   Download  
File: api/view/cliente_form.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP CRUD API Example
Example API to manipulate database table records
Author: By
Last change:
Date: 1 year ago
Size: 1,322 bytes
 

Contents

Class file image Download
<!--Mensagem de erro-->
            <div id="msg-erro" class="col-lg-12 alert alert-danger" style="display: none;">
                mensagem
            </div>
           
            <!--Mensagem de sucesso-->
            <div id="msg-success" class="col-lg-12 alert alert-success" style="display: none;">
                Registro efetuado com sucesso!
            </div>
           
            <form name="frm_cadastro" id="frm_cadastro" method="post" onsubmit="return false">
                <input type="hidden" name="action" value="save_cliente">
                <input type="hidden" name="id" id="id" value="">
                <div class="form-row">
                    <div class="col">
                        <input class="form-control" type="text" name="nome" id="nome" value="" placeholder="nome">
                    </div>
                    <div class="col">
                        <input class="form-control" type="text" name="email" id="email" value="" placeholder="email">
                    </div>
                    <div class="col">
                        <input type="submit" class="btn btn-primary" value="Salvar">
                        <input type="reset" class="btn btn-default" value="Limpar" onclick="clear_form()">
                    </div>
                </div>
            </form>