Re: simple ?- load page after submit
| From: | Matt Hedges | Date: | Fri, 23 Jan 2004 17:10:53 +0000 |
| Subject: | Re: simple ?- load page after submit | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175542@lists.php.net to get a copy of this message | ||
That doesn't work... I think the problem may be because I don't have the id
defined anywhere in the code (but it automatically writes it to MySQL).
When I put the code below, I get a "can't send header" error.
I tried changing the echo to <a href="page.php?id=$id">page</a>, but the
page brings up page.php?id= (id = nothing).
any suggestions?
thanks
matt
"Matt Hedges" <matt@hedges.org> wrote in message
news:20040123163430.75344.qmail@pb1.pair.com...
> 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