Search the Community
Showing results for tags 'registration'.
-
Question: I have never created a menu system dynamically. I can not figure out how to hide() the register tab if a user is logged in. I am unsure where to start in the header file to do so. Near the bottom of the code is where we decide if we should show the log in page within the index page. I figure I would have to start there, or change the dynamic code to check for this first? I'm such a newbie... LOL Any help, or ideas would be most appreciated. Thank you, The Code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> &l
- 5 replies
-
- example 1
- registration page
- (and 3 more)
-
Hi I have the following codes for registration and login. The registration doesnt seem to work, can anybody point out where the problem is or what am i not doing, should there be a text file included? ?<?php // Script 8.10 - register.php #2 /* This page lets people register for the site (in theory). */ // Set the page title and include the header file: define('TITLE', 'Register'); include('header.html'); // Print some introductory text: print '<h2>Registration Form</h2> <p>Register so that you can take advantage of certain features like this, that, and the other thing.&
-
On my registration page, I would like to allow my clients to select from two different options as roles they can have when they register for the website. The first role is "member", the second is "manager". I can't find any resources on how the syntax should work with the create_form_input tag to allow the user to select one of those two options and store it in the database under the "type" field. Please help! Jim
- 1 reply
-
- registration
- form
-
(and 3 more)
Tagged with:
-
Hello, I've downloaded the scripts from this website and all seem to work fine - except the registration page in Chapter 16. I've set up the config.inc.php and the mysqli_connect.php correctly and have put the files downloaded into the correct folder layout. I've set up the database with the supplied SQL and checked it is all there on PHPMyAdmin - and it is fine. register.php loads with no problem, but when I fill in the fields, I get the error messages: Please enter your first name! Please enter your last name! Please re-enter your passwords and try again. And the fo