Skip to main content

Posts

Showing posts with the label mysql

Playing with HTML Dropdowns Select Lists Using PHP, Mysql, Jquery

Hey friends, While making a form we found ourselves in a condition when our one dropdown is based on previous dropdown Means when we select something in the upper drop down and then Option of Next dropdown is based on the previous selection. So my this tutorial is all about this concept. So we are going to use HTML, JQuery, PHP,Mysql. So lets start.  Note: This Program Is Not Difficult To Build but the requirement is to understand the key functionality of this whole script. Such as : Getting The value from the Element using Jquery Sending that value to another page using jquery post function Receiving the Result of Post Function DownLoad first of all we want to create a basic structure of our page. So lets finish that first.  <div class="container"> <header> <h1><strong>Playing With Select List</strong></h1> <h2>Select One List To see Output On Other</h2> </heade...

Username Availability Check Using Jquery, PHP, Mysql, Ajax

When We try to Register for any website and On the Username Field We just type your desired Username and within Seconds Without Refreshing the Page the system Checks if the username Is Available or Not so today's my tutorial is based on the same functionality. we have Following 4 Files in our Directory And Each file is going to perform its own function.   Index.php user.js  db.php username_check.php     Following Function Will Be Performed When Our Username is being Checked Download Username is fetched from index.php and send to the server for checking. if the username is taken then an error message will be shown else there will be a available message. so lets start First we have To create a index file. I am not using any stylesheet for this. its just an simple form without any formatting or styling. so here is the code for index.php file <!doctype html> <html lang="en"> <head>...

Login System Using PHP, Mysql ,Ajax And Twitter Bootstrap

Today we are going to create a Login System using PHP, Mysql('As Database'), Ajax(' For scriptin') And Twitter Bootstrap('For Designing'). Although we can create an simple log-in system but the major disadvantage of this type of log-in system is that your page is refreshed every time when you press submit or Log-in button this is such a waist of time and bandwidth. So the better way is to create an login for with Ajax so if your username and password is correct only then you page will be refreshed and you will be sent to the next success page So lets We Start.... DOWNLOAD An twitter Bootstrap Is being Used for the Designing. So making an login form is easy using Bootstrap. Read Full Artical Here Creating An Form  <form class="form-horizontal" method="post" action="" id="login_form"> <div class="control-group"> <label class="control-label" for="username...