you can download easyphp from http://www.easyphp.org/ works fine on local with Apache :)
U can do this by just a select query here is the solution $query = "SELECT * FROM UserTable WHERE username=".$_Post['username']; $Con =...
Separate names with a comma.