Load a frame and work on another?
| From: | Robert Sossomon | Date: | Mon, 14 Jun 2004 18:32:07 +0000 |
| Subject: | Load a frame and work on another? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-188250@lists.php.net to get a copy of this message | ||
Here is a piece of my code in my PHP, I am trying to reload frame C with
updated information and reload the current page into the current frame.
Can someone tell me where I am going wrong?
if (mysql_num_rows($get_query_res) < 1){
//invalid id, send away
header("<script language=\"javascript\">parent.C.location.href =
\"show.html\";</script>");
header("<script language=\"javascript\">parent.B.location.href =
\"prefs.html\";</script>");
exit;
Thanks,
Robert