Jump to content
Fórum Script Brasil
  • 0

Ajuda iniciante


Question

Estou com um erro que não consegui resolver por sozinho....

tenho essa login.php

<!DOCTYPE html>
<html lang="en">
<head>
<?php include 'header.php' ?>
    
    <?php include 'footer.php' ?>
   
    <title>Document</title>
</head>
<body>
   
   <div id="central_login">
       <div class="content" align="center">
           <form id="envio" method="POST" class="col-sm-4" action="javascript:void(0)">
               <div class="input-container">
                   <i class="fas fa-user icon"></i>
                       <input type="text" name="usuario" id="usuario" class="form-control" placeholder="Usuário"><br>
               </div>
 
               <div class="input-container">
                   <i class="fas fa-key icon"></i>
                       <input type="password" name="senha" id="senha" class="form-control" placeholder="*******"><br>
               </div>
 
               <input type="submit" form="envio" name="Enviar" class="btn btn-outline-primary btn-lg btn-block">
               <input type="reset" name="Limpar" class="btn btn-outline-primary btn-lg btn-block">
           </form>
           
 
           
       </div>
   </div>
 
 
<!--<script src="../util/jquery.js"></script>
<script src="../util/script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"> </script> -->
</body>
</html>
 
acontece que se tento dar um include no footer ele não funciona
se coloco direto no login.php (comentario) ele vai de boa.....

onde estou errando ???
Link to post
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      148875
    • Total Posts
      644917
×
×
  • Create New...