Registration | Link With Database

Gang67

|Jump out gang, we jump out those vehicles|
May 5, 2017
303
54
Does anyone know how I link my login with the database:
so it checks if that's the right login?
 

Gang67

|Jump out gang, we jump out those vehicles|
May 5, 2017
303
54
What are you trying to accomplish? Can you post your code so people can work with it
Code:
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
   <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<html lang = "en">
<head>
  <title>{hotelname} | Index</title>

<link rel="stylesheet" href="http://localhost/app/tpl/skins/Habbo/css/style.css" type="text/css" />
    <script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>

</head>
<body>
<div class="logo"></div>
<div class="online">There are <b>{online_count)</b> people online.</div>
<div class="errormessage">Kill yourself</div>

  <div class="container">

    <div class="title">Login</div>

    <div class="content">

    <input type="text" name="email" id="email" class="form" placeholder="Email"> <br /><br />
        <input type="text" name="email" id="email" class="form" placeholder="Password"> <br /><br />
            <input type="submit" name="login" id="login" class="submit">
            
            <div class="button_register">
              Register
          </div>
      </div>
  </div>
            

<script>

var registerURL ="file:///C:/Users/abdu/Desktop/project%20x/register.html";
$('.button_register').click(function(){window.location.href=registerURL})
$.fn.center = function() {
    var element = this;

    element.css({
        'left': $(window).width() / 2 - element.width() / 2 + 'px'
    })

    return element
}

$('.container').center();
$('.errormessage').center();

</script>
</body>
</html>
So that it checks if its a real login, just like logging into habbo.com
 
Try here
Will do
 

Detox

Member
Jul 24, 2010
365
24
Code:
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
   <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<html lang = "en">
<head>
  <title>{hotelname} | Index</title>

<link rel="stylesheet" href="http://localhost/app/tpl/skins/Habbo/css/style.css" type="text/css" />
    <script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>

</head>
<body>
<div class="logo"></div>
<div class="online">There are <b>{online_count)</b> people online.</div>
<div class="errormessage">Kill yourself</div>

  <div class="container">

    <div class="title">Login</div>

    <div class="content">

    <input type="text" name="email" id="email" class="form" placeholder="Email"> <br /><br />
        <input type="text" name="email" id="email" class="form" placeholder="Password"> <br /><br />
            <input type="submit" name="login" id="login" class="submit">
           
            <div class="button_register">
              Register
          </div>
      </div>
  </div>
           

<script>

var registerURL ="file:///C:/Users/abdu/Desktop/project%20x/register.html";
$('.button_register').click(function(){window.location.href=registerURL})
$.fn.center = function() {
    var element = this;

    element.css({
        'left': $(window).width() / 2 - element.width() / 2 + 'px'
    })

    return element
}

$('.container').center();
$('.errormessage').center();

</script>
</body>
</html>
So that it checks if its a real login, just like logging into habbo.com?
 

Will do

It looks like your file isn't pointing to like a config.php or like Submit_User.php Are you using MySQLi? Just based off your previous post that I saw that's what it looks like
 

Users who are viewing this thread

Top