I use a frameset.
I need to pass a variable value from a form to two other frames. Someone mentioned that it can't be achieved with PHP and suggested to use JavaScript. I agraee with it, but have no clue how to write it. Is it going to look something like:
function submitIt() {
parent.frames[0].location.href = 'page1.php';
parent.frames[0].location.href = 'page2.php';
document.myForm.submit();
}
<form onSubmit="submitIt()" name="myForm">
<input type="text" name="myValue">
<input type="submit" value="SUBMIT">
Something just doesn't look right here. Any suggestions?