# Qn on PHP Header(Location: )

**URL:** <https://forum.kirupa.com/t/qn-on-php-header-location/235069>\
**Category:** programming\
**Created:** [August 8, 2007, 7:00am UTC](https://forum.kirupa.com/t/qn-on-php-header-location/235069 "2007-08-08T07:00:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramize\_27](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@ramize\_27](https://forum.kirupa.com/u/ramize_27)\
**Post date:** [August 8, 2007, 7:00am UTC](https://forum.kirupa.com/t/qn-on-php-header-location/235069/1 "2007-08-08T07:00:40Z")

</div>

hi… what happens if I want to process some scripts on the page before using header(location:something.php)… i have this page where i’m performing some mysql update, then i want to send the user back to the first page. so can i apply it here?! or is there any other alternative to sending user back to first page…

tks
