Login Form

I have worked on the login form, we have learnt this in previous workshops with Kyle and I though that this would be a good place to start on the php side of the website. I have created the login area of the website with functional php.

Screen Shot 2015-04-20 at 02.43.07

I have been using bootstrap for the sites CSS and this is what it looks like at the moment. The code under is the CSS styling for the box, it is pretty simple and basic at the moment.

Screen Shot 2015-04-20 at 02.49.43

 

 

 

The code below is the php for the login box so if the user logs in and that their login details is on the database it will allow them to login and redirect them to the homepage, if not then they receive a message saying “wrong username/password”. This code is connected to myphpadmin where the table can be seen below.

Screen Shot 2015-04-20 at 02.48.26

The screenshot below is the table used for the login area of the website, this is still in progress.

Screen Shot 2015-04-20 at 02.43.53

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s