on "frommail.php":
Depending on your version of PHP I would guess you are running PHP 4.2 or greater with register_globals = off.
That would create the errors that you are getting: Notice: Undefined variable: Name
To get around this error Use this $_GET["Name"] this should return the value of name.
For your "form_results.php"
You need to do 2 things.
1.) when you reroute from "formmail.php" to "form_results.php" you need to include your variable values in the URL string like so.
header("Location: http://www.winnefox.org/ form_results.php?Name=urlencode($Name)&Add=urlencode($Add));
encodes spaces and special characters for transfer over a URL.
http://www.php.net/manual/en/function.urlencode.php
Then on your form_results.php page
to get the variable type this
$Name = urldecode($_GET["Name"]);
http://www.php.net/manual/en/function.urldecode.php
That should enable you to do what you where wanting to do.
Jonathan Pitcher
On Thursday, March 6, 2003, at 11:30 AM, Jody Cleveland wrote:
Hello,
I've got a form here: http://www.winnefox.org/ccbc.html
Which I have running this: <form method="get" action="http://email.winnefox.org/wals/support/formmail.php">
In that form, I also have it redirect the results to: http://www.winnefox.org/form_results.php
What I get when I submit the form is this: Notice: Undefined variable: Name (there's one for each line)
On that results page, I have this: <?php echo "<b>Your Name:</b> $Name <br />"; ?>
Any ideas as to what the problem may be? is it possible to make that round
trip and have submitted info carry form one server to the other?
-- Jody Cleveland ([EMAIL PROTECTED])
Winnefox Library System Computer Support Specialist
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php