[insert_php]
@session_start();
$submission_date = date(“Y-m-d H:i:s”);
$currentid = $_SESSION[‘submitted_id’];
$query = “select * from submitted_cards, card_preview where submitted_cards.submitted_id = ‘$currentid’ and submitted_cards.submitted_id = card_preview.submitted_id”;
echo $query . “
“;
$result = mysql_query($query)or die(mysql_error());
while ($row = mysql_fetch_assoc($result)) {
$pdf_file = $row[‘pdf_file’];
$pet_name = strtoupper($row[‘pet_name’]);
$hearus = strtoupper($row[‘hear_us’]);
#echo $hearus . “
“;
$file = $row[‘filename’];
$emailsrc = $row[‘owner_email’];
}
[/insert_php]
Add to Cart