This week we got given the basic frame work for our index page. where we had to add mysqli queries, a form to sign in and we got given the option to personalise it. I didn’t get round to personalising it because I was having  trouble with my code, which i finally fixed. This whole task only took about 2 hours which shows how much I’m actually learning, even a few weeks ago this task could of taken me at least twice as long.

Screen Shot 2015-02-03 at 16.19.39 Screen Shot 2015-03-10 at 14.17.54

the main thing this task helped me with was refreshing my mind on forms

<div class=”login_box”>  –  this opens a new div that can be called by using the class .login_box
<form action=”login.php” method=”post”>  –  this creates a form on the webpage that patches through to another file with the code necessary to login
username:<input type=”text” name=”username” value=””><br>  –  this opens up a text box thats collects the username information
password:<input type=”text” name=”password” value=””><br>  –  this opens up a text box thats collects the password information
<input type=”submit” name=”login” value=”Login” />  –  this creates a login button which pushes your information through the sever to check it
</form>  –  this closes the form
</div>   –  this closes the div


Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: