Thursday, 17 March 2011

Setting up the site so that you can create users from the index

Just wanted to see if i could do it

I had to create an administrator account that was allowed to create other users

CREATE USER 'admin'@'localhost' IDENTIFIED BY 'password';

GRANT ALL PRIVILEGES ON login_membership TO 'admin'@'localhost':

There is now a section on the login form which allows you to create the user and populates the database by using the administrator.

I've also done some CSS

so far it looks awful

body
{color:blue;
width:250px;
padding:10px;
border:10px solid black;
margin:10px;

font-family: Verdana,Arial,Helvetica,sans-serif;
}
h1 {background-color:rgb(34,68,0); text-align:center}
h2 {color:rgb(255,0,0);}

No comments:

Post a Comment