magcr23 Posted June 23, 2015 Share Posted June 23, 2015 Hi guys, i need your help to find the problem. My dropdown is not working, i can only make it work on the main page. I think it will be easier to find the error if you have the pages so i will attack the main and one of the many that are not working. There's an image: what's not working is where it say's "miguel". It's suppost to be an profile dropdown: miguel = user logged, and in the dropdown it show to change settings (password, email...) Main page: inicio.php Page not working: categoria.php Quote Link to comment Share on other sites More sharing options...
ginerjm Posted June 23, 2015 Share Posted June 23, 2015 Please use the proper forum tags to post the RELEVANT code here for us to view. Many of us don't go to other sites for fear of the risks. Show us the html form for the dropdown and the php code that receives it, validates it and where the failure occurs. Have you done any debugging to see what you are getting from your form yet? Quote Link to comment Share on other sites More sharing options...
magcr23 Posted June 23, 2015 Author Share Posted June 23, 2015 (edited) Hi again, there's the dropdown: I have it on a page named menuTop.php <li class="dropdown"> <a href="mensagensEnviadas.php"> <i class="fa fa-inbox"> </i> <?php echo "Mensagem" ?></a> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> <?php echo $user2; ?><b class="caret"></b></a> <ul class="dropdown-menu"> <li> <a href="perfilAdmin.php"><i class="fa fa-fw fa-user"></i> Perfil</a> </li> <li> <a href="logout.php"><i class="fa fa-fw fa-power-off"></i> Log Out</a> </li> </ul> and then i call it on all other pages: <div id="wrapper"> <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <?php include("menuLateral.php"); include("menuTop.php"); ?> and after i write all my content (only a few is showed there) <div id="page-wrapper"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> <h1 class="page-header"> Criar/Alterar Categorias </h1> <div class="alert alert-info alert-dismissable"> <a href="categoria.php">Criar/Alterar</a> || <a href="categoriaLista.php">Lista de Categorias</a> || <a href="categoriaAtiva.php">Categorias Ativas</a> || <a href="categoriaInativa.php">Categorias Inativas </a> </div> </div> Edited June 23, 2015 by magcr23 Quote Link to comment Share on other sites More sharing options...
ginerjm Posted June 23, 2015 Share Posted June 23, 2015 I don't see any form or select tags. Where is your drop down and where is your submit? Quote Link to comment Share on other sites More sharing options...
magcr23 Posted June 23, 2015 Author Share Posted June 23, 2015 There's a better way to you see all the code, page with menu (dropdown is there) http://justpaste.it/lxgz page where it's not working http://justpaste.it/lxh1 justpaste.it it's a website to share text, so my advise is to you copy the text to notepad++ or something like that for a better read Quote Link to comment Share on other sites More sharing options...
ginerjm Posted June 23, 2015 Share Posted June 23, 2015 So - you don't want to post what I asked to see? ok. Quote Link to comment Share on other sites More sharing options...
CroNiX Posted June 23, 2015 Share Posted June 23, 2015 @ginerjm He's using bootstrap, not a form "select". It's basically just a css menu that expands. Quote Link to comment Share on other sites More sharing options...
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.