Hi all once again.
My table seems to work, however, I've got a simple problem. Assume that there are 4 headers and for each product the user selects it goes to a row of a table. However, if a user selects more thatn one product, the entire table is written. The result is that the table headers are shown once again. (as many header lines as the number of the products). So I want to output the headers only once. I do the following. It works but each table element is not alligned correctly. For example, I want $RIN exaclty under Header2.
Any ideas?
Thanks for your time.
message = '
<html>
<head>
<title>TITLE</title>
</head>
<body>
<table>
<tr>
<th>Header1</th><th>Header2</th><th>Header3</th><th>Header4</th><th>Header5</th>
</tr>
</table>
</body>
</html>
';
$message2 = $message2.'
<html>
<head>
<title>TITLE</title>
</head>
<body>
<table>
<tr>
<td>'.$RIS. '</td><td>'.$RIN.'</td><td>'.$RIC.'</td><td>'.$RIQ.'</td><td>'.$RTC.'</td>
</tr>
</table>
</body>
</html>
';