Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

location header target

Status
Not open for further replies.

livestrong

Technical User
Nov 27, 2006
29
IE
Hi Guys,

I need my page to relocate to my target frame below is the
incorrect code im using!

Code:
header(Location: ' . $mypage . ' TARGET: mainFrame');

Any ideas

It works when i take the "traget" piece out

Code:
header(Location: ' . $mypage);

Any help would be great with this one.

 
That's because theirs no such thing as TARGET in the header declaration. The Browser will redirect to the specified page in which ever frame its in.

Can you explain a bit more what it is you are trying to do, maybe we can come up with an alternative.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top