Código PHP:
echo "<html><head><title>Error en Datos</title></head>
<style type=\"text/css\">
body{
scrollbar-face-color: #aaaaaa;
scrollbar-highlight-color: #aaaaaa;
scrollbar-shadow-color: #aaaaaa;
scrollbar-3dlight-color: #eeeeee;
scrollbar-arrow-color: #000000;
scrollbar-track-color: #e3e3e3;
scrollbar-darkshadow-color: #000000;
}
TD { font-family: Tahoma; font-size: 11px; }
TH { font-family: Tahoma; font-size: 13px; }
TEXTAREA { border-bottom-width: 1px; border-color: #000000; border-left-width: 1px;
border-right-width: 1px; border-style: solid; border-top-width: 1px; font-family: Tahoma;
font-size: 10px; font-weight: bold; text-indent: 2px; }
INPUT { border-bottom-width: 1px; border-color: #000000; border-left-width: 1px;
border-right-width: 1px; border-top-width: 1px; color: #000000; font-family: Tahoma;
font-size: 10px; font-weight: normal; text-indent: 2px; }
SELECT { background-color: #DFF4FF; font-family: Tahoma; font-size: 10px;
font-weight: bold; }
A:link { background-color: transparent; color: #215D83;
font-family: Tahoma; font-size: 11px; text-decoration: none; }
A:visited { background-color: transparent; color:
</style>
<body background=\"img/back.gif\" leftmargin=\"0\" topmargin=\"0\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><img src=\"img/error.gif\" width=\"653\" height=\"132\"></td>
</tr>
<tr>
<td>Tienes los siguientes errores en tus datos:</td>
</tr>
<tr>
<td>echo</td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>";
?>
Código PHP:
if (condicion)
echo "Algo";
Salu2