The problem is second time when I again select the category and search text, the frames are not replacing the new one. It is creating a new frame. How to solve this?
*** PLEASE USE THE PHP TAG WHEN POSTING CODE ***
Code: Select all
<?php
//frames.php
session_start();
header("Cache-control: private");
unset($_SESSION['CATEGORY']);
unset($_SESSION['SEARCH_TEXT']);
$_SESSION['CATEGORY'] = $_POST["category"];
$_SESSION['SEARCH_TEXT'] = $_POST["search_text"];
?>
<html>
<head>
<title>HotDeals Inc.</title>
</head>
<FRAMESET ROWS="18%,70%,12%" >
<FRAME noresize="noresize" SRC="header_nav.php">
<FRAMESET COLS="33%,34%,33%">
<FRAME noresize="noresize" SRC="ebayquickSearch.php">
<FRAME noresize="noresize" SRC="yahoo_parsing_hotdeals1.php">
<FRAME noresize="noresize" SRC="amazon_nusoap_new2.php">
</FRAMESET>
<FRAME noresize="noresize" SRC="footer.php">
</FRAMESET>
</FRAMESET>
</html>