Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Notice: Use of undefined constant usuarios - assumed 'usuarios' in /var/www/html/portalValle/index.php on line 19
- ==================== CODIGO DA INDEX.PHP =========================================
- <?php
- function __autoload($class_name){
- require_once 'classes/'.$class_name .'.php';
- }
- ?>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <title>Bootstrap Example</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
- <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
- </head>
- <body>
- <?php
- $usuarios = new Usuarios(); //ESTA É A LINHA 19
- ?>
- <div class="container">
- <div class="row">
- <form role="form">
- <div class="form-group col-md-4">
- <label for="nome">Nome</label>
- <input type="nome" class="form-control" id="nome" name="nome">
- </div>
- <div class="form-group col-md-4">
- <label for="email">Email address:</label>
- <input type="email" class="form-control" id="email" name="email">
- </div>
- <div class="col-md-4" style="padding-top:25px;">
- <button type="submit" class="btn btn-default">Cadastrar</button>
- </div>
- </form>
- </div>
- <h2>Basic Table</h2>
- <p>The .table class adds basic styling (light padding and only horizontal dividers) to a table:</p>
- <table class="table">
- <thead>
- <tr>
- <th>ID</th>
- <th>NOME</th>
- <th>Email</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>1</td>
- <td>Doe</td>
- <td>john@example.com</td>
- </tr>
- </tbody>
- </table>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement