# \[php & mysql\]

**URL:** <https://forum.kirupa.com/t/php-mysql/221196>\
**Category:** programming\
**Created:** [April 2, 2007, 12:01pm UTC](https://forum.kirupa.com/t/php-mysql/221196 "2007-04-02T12:01:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisclick](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/chrisclick/32/1991_2.png) [@chrisclick](https://forum.kirupa.com/u/chrisclick)\
**Post date:** [April 2, 2007, 12:01pm UTC](https://forum.kirupa.com/t/php-mysql/221196/1 "2007-04-02T12:01:10Z")

</div>

I am making a simple php login form which pulls usernames and passwords from a MySQL database.

## I need to know how I can set each users homepage.

## E.g. Chris is sent to - chris.php when he logs in Matt is sent to - matt.php when he logs in

How is this possible?
