Did you try to just echo the javascript statements instead of trying to use
the header? Should have the same effect.
----- Original Message ----- 
From: "Robert Sossomon" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Monday, June 14, 2004 2:32 PM
Subject: [PHP] Load a frame and work on another?


> 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
>
> -- 
> 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

Reply via email to