hey aksival,
your way works flawlessly if i were to go from one page to another.
what i'm trying to figure out is how to go from one page:
*form.php*********************************
<html>
<head>
<title>New Page 1</title>
</head>
<body>
<form action="testresult.php" target="footer" action="post">
<select name="county" SIZE="1">
<option value="0"></option>
<option value="1">ADAMS</option>
<option value="2">ASHLAND</option>
<input type="submit" value="Submit">
</form>
</body>
</html>
to a whole new page after the submit button is clicked.
this would be the "framed" page called:
*testresult.php*****************************
<html>
<head>
<title>New Page 2</title>
</head>
<frameset rows="*,147">
<frame name="main" src="top.php">
<frame name="footer" scrolling="no" noresize target="main" src="bottom.php">
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>
the framed page has 2 frames. the top frame named "main" loading top.php and the bottom frame named "footer" loading bottom.php.
the bottom.php is holds the code to display the form data.
(the "!isset" and "empty" are placed for validation purposes)
*bottom.php******************************
<html>
<head>
<title></title>
</head>
<body>
<?php
$a = $_POST['county'];
echo ("this is the bottom" . "<BR>");
if (!isset($a)) {
echo "the variable doesnt exist!";
}
elseif (empty($a)) {
echo "it exists but is empty!";
}
else {
echo "it exists but and contains something!";
}
echo ($a);
?>
</body>
</html>
this is what i'm trying to do. i have gone through all the feedback i got from this thread and had been searching for any kind of example with no luck. i believe this has to possible somehow. i can see the "county=" variable in the url when using the GET method, but i cant get it to the lower frame. i hope this makes it a little clearer and thanks for all your help!!!!