rcowen00
asked on
Opening multiple reports in new windows using variables
I have a page that sends an array to the code below. I want to open a new window for each fpdf document that is produced. I know the code below can't work but how can I? I have tried using Javascript to open a new window, but I was unsuccessful in passing the PHP variable. Any help is greatly appreciated. Thank you.
<?php
include 'include/userConnect.php';
error_reporting(E_ALL);
$userIDKey=$userListRow['id'];
$repKeyArray=$_POST['reprocessingKeys'];
$i = 0;
foreach ( $repKeyArray as $editID => $value) {
'include/reports/reprocessingLetters/checkRequest.php?reprocessingKey='. $value;
'include/reports/reprocessingLetters/deposit.php?reprocessingKey='. $value;
'include/reports/reprocessingLetters/presentEmpl.php?reprocessingKey='. $value;
'include/reports/reprocessingLetters/priorEmpl.php?reprocessingKey='. $value;
'include/reports/reprocessingLetters/mortgage.php?reprocessingKey='. $value;
'include/reports/reprocessingLetters/gift.php?reprocessingKey='. $value;
'include/reports/reprocessingLetters/vvoe.php?reprocessingKey='. $value;
'include/reports/reprocessingLetters/rental.php?reprocessingKey='. $value;
'include/reports/reprocessingLetters/borrCert.php?reprocessingKey='. $value;
'include/reports/reprocessingLetters/otherIncome.php?reprocessingKey='. $value;
'include/reports/reprocessingLetters/VVOE.php?reprocessingKey='. $value;
$i++;
}
?>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I ended up using if statements within the FPDF document to open all letters in one window. Thanks for the assistance gentlemen.
ASKER