PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have several iframes in my website and when the user logs in (through an iframe), I want to refresh another iframe in order to view his shopping cart. Here's the code from the iframe with the log in:
So when the user presses the Submit button, the website should refresh the cartFrame.php. How can I do that? I tried the Header("Location: cartFrame.php") but it loads the cartFrame.php in the Log In iframe...
Thanks alot and sorry for the silly question...I just couldn't find some through google...
The javascript is working fine in another file (the other file doesn't have a Header) but in this one, when the Header is triggered, it seems like the browser never goes to the bottom. I tried to put the javascript code into a function and call it before the Header but I get an error. Is there any way to trick the browser and read the whole file?