Vale compadre aqui va todo completo...
HTML
Código:
<form name="form1" method="post" action="trabajador1.php">
<div align="center">
<table width="699" height="259" >
<tr>
<td width="317" height="255"><p align="left"><strong>Nombre</strong>:
<input type="text" name="nombres">
</p>
<p align="left"><strong>E-mail:</strong>
<input type="text" name="correo">
</p>
<p align="left"><strong>Cataloga este Sitio. </strong></p>
<p align="left"> </p>
<table width="200" >
<tr>
<td><p><strong>Comentario:</strong></p>
<p align="left">
<textarea rows=5 cols=28></textarea>
</p></td>
</tr>
</table>
y el PHP
Código:
<body>
Sr(a): <?php echo "$nombres $correo";?><br>
<?php
if(!empty($Comentario))
{
echo $Comentario.'<br />';
echo "gracias por su comentario";
}
else
{
echo "ingresar un comentario";
}
;?>
</body>
Espero tu respuesta.
Saludos