Tema: php en html
Ver Mensaje Individual
  #4 (permalink)  
Antiguo 11/02/2014, 14:28
mktalternativa
 
Fecha de Ingreso: enero-2012
Mensajes: 224
Antigüedad: 12 años, 4 meses
Puntos: 1
Respuesta: php en html

pateketrueke hola el ejemplo que me pasaste es imprimiendo por separado verdad?

hay alguno mas facil de concatenacion ".$value ?algo asi


Código PHP:


$subject 
"En el dia de hoy se cargaron ".$numero_rows." Reclamos";

$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>"


$message.= while ($row_consulta mysql_fetch_assoc($consulta)) {
$message.="<td>".echo $row_consulta['area']."</td>";
$message.="<td>".echo $row_consulta['area']."</td>";
$message.="<td>".echo $row_consulta['area']."</td>";
$message.="<td>".echo $row_consulta['area']."</td>";
$message.="<td>".echo $row_consulta['area']."</td>";
$message.="<td>".echo $row_consulta['area']."</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>
"