Validating data from database php

For this we will use many CSS Styles, so I think the better way is use an external file and link it to the webpage. Listing 3: We used three ids in the external CSS style webpage.One we used for the body, we identified it by the body-color name, and we applied CSS styles on it.But before we enter any data to this webpage on Figure 3. One profile page and other ID and password validation.For checking or validating the ID and Password we need to save ID and Password to the database, for this we need two more things as a database and a table. Listing 4: creating table So we completed the requirements of the database. In which we will get the data and check it if the ID and Password are available in the database and entered correct then the user will be able to online to the user profile page.There are some new CSS styles as font-weight, font-size which all about to font (text).Figure 3: Sign-in webpage after applying CSS Style (linking the webpage) As you can see the change on the webpage after linking the webpage. But for these kind of webpages we need to use form validation on our webpages, if anyone use Java Script so it’s well and good because Java Script is a very good technique to use and solve Form Validation problems.But we will directly go to our work just create a simple Sign-in page to make you understand the concept of Sign-in webpage in this article.

When we used SELECT query, you can see the query we have used “*” its mean that we selected all data from the database for the login.Then we used an there function of PHP programming Language that is mysql_fetch_array().This will fetch all data according to the SELECT query.And we should commonly find easiest ways to get rid from the problems. And there is one new thing as type that is password. POST is commonly being used for these kind of webpages, due to its security.Figure 2: Output of the Sign-in Webpage with updated size of fieldset tag As you can see in the Listing 1 and 2 we used such a good Html tags to design a simple log-in form. The functionality of type password is to don’t show the text what we will enter in the password box. And when we are dealing with our ID and Password, so we should be alert from the hackers.

Search for validating data from database php:

validating data from database php-52validating data from database php-5

And in last we used if statement to know the condition of query.

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “validating data from database php”

  1. 00-01-8A ROI COMPUTER AG 00-01-8B Net Links Co., Ltd. 00-01-9F Ready Net 00-01-A0 Infinilink Corporation 00-01-A1 Mag-Tek, Inc. 00-01-A9 BMW AG 00-01-AA Airspan Communications, Ltd. 00-01-AE Trex Enterprises 00-01-AF Artesyn Embedded Technologies 00-01-B0 Fulltek Technology Co., Ltd. 00-01-BB Frequentis 00-01-BC Brains Corporation 00-01-BD Peterson Electro-Musical Products, Inc.