Ver Mensaje Individual
  #5 (permalink)  
Antiguo 26/10/2012, 08:07
georgiy_84
 
Fecha de Ingreso: marzo-2010
Ubicación: Buenos Aires
Mensajes: 25
Antigüedad: 14 años, 10 meses
Puntos: 2
Respuesta: problema al agregar codigo php en html

cuando ases echo es solo para emprimir tenesque agregar valores "nombre apellido tel ..." a la variable $mensaje

Código PHP:
<?php 
$mensaje
='
<table>
<tr>
<td style="width: 145px"><strong>Nombre:</strong></td><td>'
.$nombre' ' .$apellido;
$mensaje.='</td>
</tr>
<tr>
<td style="width: 145px"><strong>No. de Identificación:</strong></td><td> '
.$identificacion;
$mensaje.='</td>
</tr>
<tr>
<td style="width: 145px"><strong>Teléfono:</strong></td><td> '
.$tel;
$mensaje.='</td>
</tr>
<tr>
<td style="width: 145px"><strong>Dirección:</strong></td><td> '
.$dir;

$mensaje.='</td>
</tr>
<tr>
<td style="width: 145px"><strong>Correo electrónico:</strong></td><td> '
.$correo;

$mensaje.='</td>
</tr>
</table>'
;
?>