Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
[HELP] Unknown column 'user_id' in 'field list' When register! [HELP]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Vezel" data-source="post: 288896" data-attributes="member: 24702"><p>Tried that now, didn't work..</p><p></p><p></p><p>Register Page:</p><p>[HTML]<?php</p><p>if(isset($_POST['register'])){</p><p> $alertType = "danger"; // danger - warning - success - info</p><p> $alert = "Registration under construction.";</p><p>}</p><p>?></p><p><!DOCTYPE html></p><p><html></p><p> <head></p><p> <meta charset="utf-8" /></p><p> <title>HabZen Hotel</title></p><p> <meta name="description" content="HabZen, habbo, hotel, virtual, game" /></p><p> <link rel="stylesheet" href="/web-gallery/css/index.css" type="text/css" /></p><p> <link rel="stylesheet" href="/web-gallery/css/bootstrap.css" type="text/css" /></p><p> <link rel="shortcut icon" href="app/tpl/skins/{skin}/static/images/favicon.gif"/></p><p> <script type="text/javascript" src="./web-gallery/js/jquery.min.js"></script></p><p> <script type="text/javascript" src="./web-gallery/js/bootstrap.js"></script></p><p> </head></p><p> <body></p><p> <div id="wrap-slash"></p><p> <div id="wrap-center"></p><p> <a href="index.php" id="logo"></a></p><p> <div id="users-online">{online} Users Playing!</div></p><p> </div></p><p> </div></p><p> </p><p> <div id="wrap-body"></p><p> <div id="wrap-center"></p><p> <?php if(isset($alert)){ ?></p><p> <div class="alert alert-<?php echo $alertType; ?>"></p><p> <?php echo $template->form->error; ?></p><p> </div></p><p> <?php } ?></p><p> <div style="height:360px;"></p><p> <div id="register-left"></div></p><p> <div id="register-right"></p><p> <div id="title">Register</div></p><p> Enter the fields below to start playing.</p><p> <form id="register" method="post"><br /></p><p> <input type="text" name="reg_username" id="username" placeholder="Username" autofocus /><br /></p><p> <input type="text" name="reg_email" id="mail" placeholder="E-mail Adress" autofocus /><br /></p><p> <input type="password" name="reg_password" id="password" placeholder="Password" /><br /></p><p> <input type="password" name="reg_rep_password" id="password2" placeholder="Repeat Password" /><br /></p><p> <input type="submit" name="register" id="submit" value="" /></p><p> </form></p><p> </div></p><p> <div id="register-right2"></div></p><p> </div></p><p> </p><p> <div id="logo_big"></div></p><p> </div></p><p> </div></p><p> </p><p> <div id="wrap-footer"></p><p> <div id="wrap-center"></p><p> Copyright &copy; HabZen 2014. All rights reserved to their respective owner(s).<br /></p><p> HabZen is no way affiliated with Sulake Corporation Oy.</p><p> </div></p><p> </div></p><p> </body></p><p></html>[/HTML]</p><p>users table: <a href="http://prntscr.com/3rketx" target="_blank">http://prntscr.com/3rketx</a></p></blockquote><p></p>
[QUOTE="Vezel, post: 288896, member: 24702"] Tried that now, didn't work.. Register Page: [HTML]<?php if(isset($_POST['register'])){ $alertType = "danger"; // danger - warning - success - info $alert = "Registration under construction."; } ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>HabZen Hotel</title> <meta name="description" content="HabZen, habbo, hotel, virtual, game" /> <link rel="stylesheet" href="/web-gallery/css/index.css" type="text/css" /> <link rel="stylesheet" href="/web-gallery/css/bootstrap.css" type="text/css" /> <link rel="shortcut icon" href="app/tpl/skins/{skin}/static/images/favicon.gif"/> <script type="text/javascript" src="./web-gallery/js/jquery.min.js"></script> <script type="text/javascript" src="./web-gallery/js/bootstrap.js"></script> </head> <body> <div id="wrap-slash"> <div id="wrap-center"> <a href="index.php" id="logo"></a> <div id="users-online">{online} Users Playing!</div> </div> </div> <div id="wrap-body"> <div id="wrap-center"> <?php if(isset($alert)){ ?> <div class="alert alert-<?php echo $alertType; ?>"> <?php echo $template->form->error; ?> </div> <?php } ?> <div style="height:360px;"> <div id="register-left"></div> <div id="register-right"> <div id="title">Register</div> Enter the fields below to start playing. <form id="register" method="post"><br /> <input type="text" name="reg_username" id="username" placeholder="Username" autofocus /><br /> <input type="text" name="reg_email" id="mail" placeholder="E-mail Adress" autofocus /><br /> <input type="password" name="reg_password" id="password" placeholder="Password" /><br /> <input type="password" name="reg_rep_password" id="password2" placeholder="Repeat Password" /><br /> <input type="submit" name="register" id="submit" value="" /> </form> </div> <div id="register-right2"></div> </div> <div id="logo_big"></div> </div> </div> <div id="wrap-footer"> <div id="wrap-center"> Copyright © HabZen 2014. All rights reserved to their respective owner(s).<br /> HabZen is no way affiliated with Sulake Corporation Oy. </div> </div> </body> </html>[/HTML] users table: [url]http://prntscr.com/3rketx[/url] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[HELP] Unknown column 'user_id' in 'field list' When register! [HELP]
Top