Validating data from database php
But in the same query we also used WHERE clause to compare that all data which are fetched with the From sign-in html two things are coming to page, which is username and password. 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.And in last we used if statement to know the condition of query.Because sometimes it could be happen the user and password is not present in the database.But there is a problem, as we used the fieldset tag and the fieldset tag size is being a problem on this page.So we should change the width of the fieldset tag size.
We should use different type of CSS styles on our webpages. As we can see the Figure 3 now it’s fully ready to log in by entering the user name and password.There is also an easy method to put CAPTCHA on a webpage.But now in this article we will just learn how to design a Sign-In webpage. Listing 1: Figure 1: Output of the Sign-in Webpage In Figure 1 you can see the output of the Listing 1.In the next one, we used for the div tag and we identified it by Sign-In in the CSS styles webpage.In the last we used an ID for button and we applied CSS styles on it.
First of all we need to design the Sign-In webpage. There is username and password form boxes and a button to sign in to the profile page of user.