I have two files, stages_detail.php is embedded within stages_scroll.php as an iframe. I am trying to pass variables from the URL details in stages_detail.php and to stages_scroll.php simultaneously, when a user clicks on the page links in stages_detail.php
The url and the variables are passed via code such as the following:
$centerPages .= ' <a href="' . $Stages_Detail . '?pn=' . $add1 . '&jrny='.$jrny.'&Subject='.$Subject.'&pn2='.$add1.'&arc='.$sess.'&Table_Id='.$Table_Id.'">' . $add1 . '</a> ';
and the embedded file contained within stages_scroll.php is referenced as follows
<?php
$src = 'stages_detail.php?pn=' . $sub1 . '&jrny='.$jrny.'&Subject='.$Subject.'&pn2='.$sub1. '&arc='.$sess.'&Table_Id='.$Table_Id;
echo '<iframe align="center" width=1900 height= 300 src="'.$src.'" frameborder="yes" scrolling="yes" name="myIframe" id="myIframe"> </iframe>';
?>