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
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
From: Katie Dewees [EMAIL PROTECTED]
Matt Hedges wrote:
I want when they hit submit for it to take them to their page
(personalpage.php?id=$id)...
header(Location: personalpage.php?id=$id);
Or, correctly:
header(Location: http://www.yourdomain.com/personalpage.php?id=$id;);
---John
snip
Or, correctly:
header(Location: http://www.yourdomain.com/personalpage.php?id=$id;);
/snip
to add to what john said, you could make it a little easier to move
your script from place to place if you use some php variables and the
dirname function.
this comes right from the manual:
?php
4 matches
Mail list logo