entiendo , creo que asi esta mejor pero me trabe aqui
Código:
$message = '
<html>
<head>
<title>HTML email</title>
</head>
<body>
<p>Reclamos del dia " .$tiempo."</p>
<table>
<tr>
<th>Numero de Reclamo</th>
<th>Area</th>
<th>Responsable</th>
<th>Cargado por</th>
<th>Estado</th>
<th>localidad</th>
</tr>
<tr>';
while ($row_consulta = mysql_fetch_assoc($consulta)) {
$message.= "<td>".$row_consulta['area']."</td>";
$message.= "<td>".$row_consulta['titulo']."</td>";
$message.= "<td>".$row_consulta['responsable']."</td>";
$message.= "<td>".$row_consulta['estado']."</td>";
$message.= "<td>".$row_consulta['responsable']."</td>";
$message.= "<td>".$row_consulta['estado']."</td>";
}
$message = '
</tr>
<td>John</td>
<td>Doe</td>
<td>John</td>
<td>Doe</td>
<td>John</td>
<td>Doe</td>
</tr>
</table>
</body>
</html> ';