php how to forward to a page using header function if javascript has already been used..

  • Thread starter Thread starter ashish_2006
  • Start date Start date
A

ashish_2006

Guest
...in the page? I am using frames in my website and I have a javascript script on top of the page to check if the current page is a child frame and not the parent frame. Then, I use php/mysql to update data etc and if everything goes ok I want to forward to another php page using
header(Location: xyz.php); This is not working since I already have javascript in my page and so I can't send headers again. How to do this ?? Please someone help.
 
Back
Top