# PHP login system

**URL:** <https://forum.kirupa.com/t/php-login-system/53613>\
**Category:** programming\
**Created:** [June 5, 2004, 6:36pm UTC](https://forum.kirupa.com/t/php-login-system/53613 "2004-06-05T18:36:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iloveitaly](https://avatars.discourse-cdn.com/v4/letter/i/7ea924/32.png) [@iloveitaly](https://forum.kirupa.com/u/iloveitaly)\
**Post date:** [June 5, 2004, 6:36pm UTC](https://forum.kirupa.com/t/php-login-system/53613/1 "2004-06-05T18:36:04Z")

</div>

I want to create a login system with PHP.  
You enter your name and password then it takes you to a seperate page.  
I would think it would require 3 tables or rows in the MYsql database name, password, link.  
I know absolutuly nothing about MYsql. So, I was wondering if someone knows of a tutorial explaining how MYsql databases work, and how to make them interact with PHP. I read a few on various sites, but they basicilly give you SQL to exacute, then give you code to put on a .PHP file. I can understand the PHP part of it, but really am stuck when it comes to understand how MYsql organizes its data.  
Also,  
is there a command similiar to the javascrip location.href="" in PHP?  
Thanks!
