Giter VIP home page Giter VIP logo

registration-form's Introduction

RegistrationForm

This project consists of 3 parts :

  • Database creation using phpMyadmin.

  • Login.

  • Registration.

    Note : you can create your own database by following the next steps

    1. type localhost in your browser's search tab .

    2. open phpMyadmin .

    3. enter create database table .

    4. enter the number of columns you need in your table .

    5. you can edit the properties of each column .

      for example : you can make an id column autoincremented.

      you can also make date column to writedown the date of your data insertions into the database.

    1-begin.html & begin.css

    These two files for only the beginning of the form to choose if you want to login or Register.

    2- login.html & login.css & login.php

    login.html & login.css :

    ​ 1-you will be asked to enter the email and password to login and it will take the data from you as a user and pass it to the php file .

    ​ 2-you must enter the required data . if you don't fill any of them , an alert will be shown to ask you to fill the info .

    login.php :

    • The connection between the database and the html is written in this part of code .
    • It takes the email and password it search for them in the database. if the email & password exit , it will display welcome : "your input e-mail". if any of them is not correct , it will display "your e-mail or password is incorrect" .

    3- Reg.html & reg.css & reg.php

    ​ reg.html & reg.css :

    ​ 1- You will be asked to enter the email , username , password ,confirm tha password to register sucessfully and it will take the data from you as a user and pass it to the php file .

    ​ 2- You must enter the required data . if you don't fill any of them , an alert will be shown to ask you to fill the info .

    ​ 3- The password must be identical with the confirm password .

    ​ 4- The e-mail should have @ and . and some letters must be existed between them to be in a valid format .

    reg.php :

    • The connection between the database and the html is written in this part of code .
    • It takes the passed data from the html and insert them into the database. if the email already exists before , it will display "This e-mail already exists". if all data is in correct format and the e-mail is new , it will display "Welcome (username)" .

registration-form's People

Contributors

alaahossam avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.