dentro de codigo php no hay que abrir otro codigo php ejemplo
como no hay que aser
---------------------------------------------------------
// Esta mal!!! //
----------------------------------------------------------
<?php
$var=1;
$varB = '<php echo $var; ?>'
?>
----------------------------------------------------------
Probalo de esta forma
no olvides de agregar codigo que falta
Código PHP:
<?php
function EnviarCorreo($nombre, $apellido, $identificacion, $tel, $dir, $correo){
//Asunto
$titulo = 'Solicitud';
//Mensaje
$mensaje = '
<html>
<head>
<title>Solicitud</title>
<style type="text/css">
.auto-style1 {
text-align: center;
font: large serif;
font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}
.auto-style2 {
text-align: left;
}
</style>
</head>
<body>
<div id="Header">
<table height="98" border="0" style="width: 1087px"> <tr>
<td style="width: 86px"><img alt="" src="imagen.jpg" height="98" width="104">
</td>
<td class="auto-style1" style="width: 788px">Solicitud</td>
</tr>
</table>
</div>
<div id="body">
<p>Hola,'.$nombre.'.</p>
<p>A continuacion presento su informacion:</p>
<table>
<tr>
<td style="width: 145px"><strong>Nombre:</strong></td><td>'.$nombre.'.</td>
</tr>
<tr>
<td style="width: 145px"><strong>No. de Identificacion:</strong></td><td>'.$identificacion.'</td>
</tr>
<tr>
<td style="width: 145px"><strong>Telefono:</strong></td><td>'.$tel.'</td>
</tr>
<tr>
<td style="width: 145px"><strong>Direccion:</strong></td><td>'.$dir.'</td>
</tr>
<tr>
<td style="width: 145px"><strong>Correo electronico:</strong></td><td>'.$correo.'</td>
</tr>
</table>
</div>
<hr width="1087">
<div id="footer">pie de pagina</div>
</body>
</html>';
Codigo que falta
?>