I have a php page that has is set up to receive the data from a html form, and depending on the customer sometimes the php page does not print right. I am guessing it has to do with browser problems which i cant figure out whats wrong with it.
[code=php]<?php session_start(); ?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>Untitled Document</title><title>MARK-10 Force and Torque Measurement</title>
<meta name=”description” content=”Manufacturer of force and torque measuring instruments”>
<meta name=”keywords” content=”force gauges, force gages, torque gauges, torque gages, force indicators, torque indicators, needle sharpness testers, blade sharpness testers, puncture testers, spring testers, tensile testers, pull testers, compression testers, friction testers, friction meters, slip testers, slip meters, slipperiness testers, slipperiness meters, peel testers, bond strength testers, materials testers, force measurement, torque measurement, torque tool calibrators, peel testing, crimp testing, pull testing, compression testing, tension testing, torque analyzers, test stands, manual stands, manual test stands, motorized stands, morized test stands, universal test stands, FORCE GAUGES, FORCE GAGES, TORQUE GAUGES, TORQUE GAGES, FORCE INDICATORS, TORQUE INDICATORS, NEEDLE SHARPNESS TESTERS, BLADE SHARPNESS TESTERS, PUNCTURE TESTERS, SPRING TESTERS, TENSILE TESTERS, PULL TESTERS, COMPRESSION TESTERS, CHATILLON, AMETEK, DILLON, WAGNER, IMADA, SHIMPO, FRICTION TESTERS, FRICTION METERS, SLIP TESTERS, SLIP METERS, PEEL TESTERS, BOND STRENGTH TESTERS, MATERIALS TESTERS, FORCE MEASUREMENT, TORQUE MEASUREMENT, TORQUE TOOL CALIBRATORS, PEEL TESTING, CRIMP TESTING, PULL TESTING, COMPRESSION TESTING, TENSION TESTING, TORQUE ANALYZERS”>
<!– START: PDF Online Script –>
<script type=”text/javascript”>
var authorId = “A684E8A0-FC3A-4E3B-A910-78704B82B51F”;
var pageOrientation = “0”;
var topMargin = “0.5”;
var bottomMargin = “0.5”;
var leftMargin = “0.5”;
var rightMargin = “0.5”;
</script>
<script type=”text/javascript” src=”http://web2.pdfonline.com/pdfonline/pdfonline.js”>
</script>
<!– END: PDF Online Script –>
<style type=”text/css” media=”print”>
<!–
@import url(“rmsstylesheet.css”);
–>
</style>
<style type=”text/css” media=”all”>
<!–
@import url(“rmsstylesheet.css”);
–>
</style>
</head>
<body>
<p>
<input type=”button” onClick=”window.print()” value=”Print this form”/></p>
<table width=”700″ border=”0″ align=”left” cellpadding=”2″ cellspacing=”0″>
<tr>
<td width=”437″ ><img src=”../images/MARK-10-Black-LOGO.jpg” width=”200″ height=”22″></td>
<td colspan=”3″ class=”topheader” style=”font-size: 16px; font-family: ‘Arial Black’, Gadget, sans-serif; text-align:right” >RETURN AND SERVICE FORM</td>
</tr>
<tr>
<td >Tel 631-842-9200 <span style=”font-size: 9px”>■</span> Fax 631-842-9201 <span style=”font-size: 9px”>■</span> 888-MARK-TEN<br>
[email protected] <span style=”font-size: 9px”>■</span> www.mark-10.com</td>
<td width=”70″ ></td>
<td width=”92″ height=”20″ bgcolor=”#000000″ style=”color: #FFF; font-family: ‘Arial Black’, Gadget, sans-serif; font-size: 24px;”>RMA #</td>
<td width=”85″ style=”border: .05em solid #000″ ></td>
</tr>
<tr>
<td height=”67″ colspan=”1″ valign=”top”><p><u><span class=”methods”>IMPORTANT:</span></u><br>
</p> <p><span style=”font-size: 12px”>Please print this form and include it with your Mark-10 products
when <br />
</span><span style=”font-size: 12px”>shipping them to us.<br>
<br>
Ensure that the items are packaged securely (preferably in their original packaging) to
prevent damage during shipment.This is especially important for gauges and <br />
sensors
with capacities of 50 ozin or less. For MGT torque gauges and STJ torque sensors,
it is essential to reinsert the original protective tubing around the chuck.<br />
Contact Mark-10 if
you are missing this tubing. <br />
<br>
If, at the customer’s request, the products are returned without repair, a $75.00 <br>
evaluation fee will apply. Please do not hesitate to contact us if you have any questions.</span><br>
<br>
</p>
</p></td>
<td colspan=”3″ style=”border: .05em solid #000″><span style=”font-family:Arial, Helvetica, sans-serif; font-size:14px; color: #000;”>
<?php
if(isset($_SESSION[‘information’]))
{
echo $_SESSION[‘information’];
unset($_SESSION[‘information’]);
}
?>
</span></td>
</tr>
<tr>
<td bgcolor=”#000000″ style=”padding-right:10″><span style=”font-weight: bold; font-family: Arial, Helvetica, sans-serif; color: #FFF; font-size: 12pt;”>ITEMS</span></td>
</tr>
<tr>
<td height=”23″ colspan=”1″ valign=”top” bgcolor=”#FFFFFF” class=”tagline” style=”border: .05em solid #000″>
<table border=”1″ style=”style=”border: .05em solid #000″>
<tr class=”tableheader”>
<td width=”119″ class=”tableheader1″ style=”border-color:#000; border-collapse:collapse”>Qty.</td>
<td width=”150″ class=”tableheader1″ style=”border-color:#000; border-collapse:collapse”>Model No.</td>
<td width=”140″ class=”tableheader1″ style=”border-color:#000; border-collapse:collapse”><span class=”tableheader1″ style=”border-color:#000; border-collapse:collapse”>Serial No.</span></td>
</tr>
<tr>
<td style=”border-color:#000 border-collapse:collapse; text-align:center; height:20px; font-size: 12px;”><?php echo $_SESSION[‘Return1Qty’]; ?></td>
<td style=”border-color:#000 border-collapse:collapse; text-align:center; font-size: 12px;”><?php echo $_SESSION[‘Return1ModelNo’]; ?></td>
<td style=”border-color:#000 border-collapse:collapse; text-align:center; font-size: 12px;”><?php echo $_SESSION[‘Return1SerialNo’]; ?></td>
</tr>
<tr>
<td style=”border-color:#000 border-collapse:collapse; text-align:center; height:20px; font-size: 13px;”><?php echo $_SESSION[‘Return2Qty’]; ?></td>
<td style=”border-color:#000 border-collapse:collapse; text-align:center; font-size: 13px;”><?php echo $_SESSION[‘Return2ModelNo’]; ?></td>
<td style=”border-color:#000 border-collapse:collapse; text-align:center; font-size: 13px;”><?php echo $_SESSION[‘Return2SerialNo’]; ?></td>
</tr>
<tr>
<td style=”border-color:#000 border-collapse:collapse; text-align:center; height:20px; font-size: 13px;”><?php echo $_SESSION[‘Return3Qty’]; ?></td>
<td style=”border-color:#000 border-collapse:collapse; text-align:center; font-size: 13px;”><?php echo $_SESSION[‘Return3ModelNo’]; ?></td>
<td style=”border-color:#000 border-collapse:collapse; text-align:center; font-size: 13px;”><?php echo $_SESSION[‘Return3SerialNo’]; ?></td>
</tr>
<tr>
<td style=”border-color:#000 border-collapse:collapse; text-align:center; height:20px; font-size: 13px;”><?php echo $_SESSION[‘Return4Qty’]; ?></td>
<td style=”border-color:#000 border-collapse:collapse; text-align:center; font-size: 13px;”><?php echo $_SESSION[‘Return4ModelNo’]; ?></td>
<td style=”border-color:#000 border-collapse:collapse; text-align:center; font-size: 13px;”><?php echo $_SESSION[‘Return4SerialNo’]; ?></td>
</tr>
<tr>
<td style=”border-color:#000 border-collapse:collapse; text-align:center; height:20px; font-size: 13px;”><?php echo $_SESSION[‘Return5Qty’]; ?></td>
<td style=”border-color:#000 border-collapse:collapse; text-align:center; height:20px; font-size: 13px;”><?php echo $_SESSION[‘Return5ModelNo’]; ?></td>
<td style=”border-color:#000 border-collapse:collapse; text-align:center; font-size: 13px;”><?php echo $_SESSION[‘Return5SerialNo’]; ?></td>
</tr>
</table></td>
<td colspan=”3″ style=”border: .05em solid #000″></td>
</tr>
<tr>
<td height=”23″ colspan=”1″ valign=”top” bgcolor=”#000000″ class=”tagline” style=”border: .05em solid #000″><span style=”font-weight: bold; font-family: Arial, Helvetica, sans-serif; color: #FFF; font-size: 12pt;”>COMMENTS</span></td>
<td colspan=”3″></td>
</tr>
<tr>
<td height=”23″ valign=”top” bgcolor=”#FFFFFF” class=”tagline” style=”border: .05em solid #000″><span style=”border-color:#000 border-collapse:collapse; text-align:center; font-size: 13px;”><?php echo $_SESSION[‘comments’]; ?></span></td>
<td colspan=”3″></td>
</tr>
</table>
</body>
</html>