RE: [PHP] simple ?- load page after submit
| From: | Katie Dewees | Date: | Fri, 23 Jan 2004 16:37:13 +0000 |
| Subject: | RE: [PHP] simple ?- load page after submit | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175527@lists.php.net to get a copy of this message | ||
Matt Hedges wrote:
> Hello,
>
> I've built a page where someone can enter in their information...
> currently, when they hit submit, a screen comes back and says "thanks
> for entering your info. (echo "Thank you! Information entered.\n";)"
>
> I want when they hit submit for it to take them to their page
> (personalpage.php?id=$id)...
>
> How do I do this?
>
>
> thanks,
> Matt
add this instead of the echo:
header("Location: personalpage.php?id=$id");
Katie Dewees
Web Developer/PHP Programmer
kdewees@bellsouth.net
http://www.evans-young.com