title: Bootstrap admin panel connection to user/login issues
body: <p>I just posted an issue I was having with trying to add in all different types of sql to connect the template for "<a href="https://wrapbootstrap.com/theme/super-admin-responsive-frontend-WB02N9M12" rel="nofollow noreferrer">https://wrapbootstrap.com/theme/super-admin-responsive-frontend-WB02N9M12</a>" to the login/registration.  I even blogged with the original maker of the code to find out what they recommend using to connect.  The problem I'm having is that the template has the following in the login.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;!--[if IE 9 ]&gt;&lt;html class="ie9"&gt;&lt;![endif]--&gt;
  &lt;head&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /&gt;
      &lt;meta name="format-detection" content="telephone=no"&gt;
      &lt;meta charset="UTF-8"&gt;
  
      &lt;meta name="description" content="Violate Responsive Admin Template"&gt;
      &lt;meta name="keywords" content="Super Admin, Admin, Template, Bootstrap"&gt;
  
      &lt;title&gt;Super Admin Responsive Template&lt;/title&gt;
  
      &lt;!-- CSS --&gt;
      &lt;link href="css/bootstrap.min.css" rel="stylesheet"&gt;
      &lt;link href="css/form.css" rel="stylesheet"&gt;
      &lt;link href="css/style.css" rel="stylesheet"&gt;
      &lt;link href="css/animate.css" rel="stylesheet"&gt;
      &lt;link href="css/generics.css" rel="stylesheet"&gt; 
  &lt;/head&gt;
  &lt;body id="skin-blur-violate"&gt;
      &lt;section id="login"&gt;
          &lt;header&gt;
              &lt;h1&gt;SUPER ADMIN&lt;/h1&gt;
              &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla eu risus. Curabitur commodo lorem fringilla enim feugiat commodo sed ac lacus.&lt;/p&gt;
          &lt;/header&gt;
  
          &lt;div class="clearfix"&gt;&lt;/div&gt;
  
          &lt;!-- Login --&gt;
          &lt;form class="box tile animated active" id="box-login"&gt;
              &lt;h2 class="m-t-0 m-b-15"&gt;Login&lt;/h2&gt;
              &lt;input type="text" class="login-control m-b-10" placeholder="Username or Email Address"&gt;
              &lt;input type="password" class="login-control" placeholder="Password"&gt;
              &lt;div class="checkbox m-b-20"&gt;
                  &lt;label&gt;
                      &lt;input type="checkbox"&gt;
                      Remember Me
                  &lt;/label&gt;
              &lt;/div&gt;
              &lt;button class="btn btn-sm m-r-5"&gt;Sign In&lt;/button&gt;
  
              &lt;small&gt;
                  &lt;a class="box-switcher" data-switch="box-register" href=""&gt;Don't have an Account?&lt;/a&gt; or
                  &lt;a class="box-switcher" data-switch="box-reset" href=""&gt;Forgot Password?&lt;/a&gt;
              &lt;/small&gt;
          &lt;/form&gt;
  
          &lt;!-- Register --&gt;
          &lt;form class="box animated tile" id="box-register"&gt;
              &lt;h2 class="m-t-0 m-b-15"&gt;Register&lt;/h2&gt;
              &lt;input type="text" class="login-control m-b-10" placeholder="Full Name"&gt;
              &lt;input type="text" class="login-control m-b-10" placeholder="Username"&gt;
              &lt;input type="email" class="login-control m-b-10" placeholder="Email Address"&gt;    
              &lt;input type="password" class="login-control m-b-10" placeholder="Password"&gt;
              &lt;input type="password" class="login-control m-b-20" placeholder="Confirm Password"&gt;
  
              &lt;button class="btn btn-sm m-r-5"&gt;Register&lt;/button&gt;
  
              &lt;small&gt;&lt;a class="box-switcher" data-switch="box-login" href=""&gt;Already have an Account?&lt;/a&gt;&lt;/small&gt;
          &lt;/form&gt;
  
          &lt;!-- Forgot Password --&gt;
          &lt;form class="box animated tile" id="box-reset"&gt;
              &lt;h2 class="m-t-0 m-b-15"&gt;Reset Password&lt;/h2&gt;
              &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla eu risus. Curabitur commodo lorem fringilla enim feugiat commodo sed ac lacus.&lt;/p&gt;
              &lt;input type="email" class="login-control m-b-20" placeholder="Email Address"&gt;    
  
              &lt;button class="btn btn-sm m-r-5"&gt;Reset Password&lt;/button&gt;
  
              &lt;small&gt;&lt;a class="box-switcher" data-switch="box-login"    href=""&gt;Already have an Account?&lt;/a&gt;&lt;/small&gt;
          &lt;/form&gt;
      &lt;/section&gt;                      
  
      &lt;!-- Javascript Libraries --&gt;
      &lt;!-- jQuery --&gt;
      &lt;script src="js/jquery.min.js"&gt;&lt;/script&gt; &lt;!-- jQuery Library --&gt;
  
      &lt;!-- Bootstrap --&gt;
      &lt;script src="js/bootstrap.min.js"&gt;&lt;/script&gt;
  
      &lt;!--  Form Related --&gt;
      &lt;script src="js/icheck.js"&gt;&lt;/script&gt; &lt;!-- Custom Checkbox + Radio --&gt;
  
      &lt;!-- All JS functions --&gt;
      &lt;script src="js/functions.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p></p>
  
  <p>Every example I'm given has a register.php or login.php page that references the html for it's own login, and some even switch between mysql and mysqli in other connectors like the dbconnect.php pages.  I don't mean to ramble just been a headache for a week straight now.  Does anyone have any help to get this template connected properly.  I even went so far as to use  in line for the registration and the same for login to reference a connection page to the db.  It works somewhat, but I got to the point where I fill out the registration and it won't display in the referenced table in the mysql database I have setup.  All connections work...just don't have the code that posts it properly.  Thank you anyone got help...I don't know how many more code pieces that run me int he wrong direction I can read through.  The only other post I have here is the code that I was using to try and separate the login to work, but to no avail.</p>
  
  <p>This is where I put the code on stack overflow where I tried to get things corrected.  But nothing seemed to work so I thought I'd reference if anyone else had any guidance even if I need to start the code over.  <a href="https://stackoverflow.com/q/33463482/5512763">Registration Error php, mysql, no data in database</a></p>