# Register and Login PHP?

**URL:** <https://forum.kirupa.com/t/register-and-login-php/198333>\
**Category:** Uncategorized\
**Created:** [August 24, 2006, 7:00am UTC](https://forum.kirupa.com/t/register-and-login-php/198333 "2006-08-24T07:00:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flash\_Man1](https://avatars.discourse-cdn.com/v4/letter/f/8797f3/32.png) [@Flash\_Man1](https://forum.kirupa.com/u/Flash_Man1)\
**Post date:** [August 24, 2006, 7:00am UTC](https://forum.kirupa.com/t/register-and-login-php/198333/1 "2006-08-24T07:00:38Z")

</div>

hey all i have my script done for my register page it works fine i would like the login to be on the same page…how should i go about laying out the code so that it doesnt execute both scripts on load of page.

would i need to use a loop on the register code then start my login script or something?

thanks in advance peeps for any help 🙂
