y cuando lo hago me tira error en linea 49. Alguien me puede decir que está mal?
Código php:
Ver original
<html> <head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Formulario</title> </head> <SCRIPT language=JavaScript src="scripts.js" type=text/javascript></SCRIPT> <body background="fondo2.gif"> <?php { echo "<h3></h3>\n"; $badinput = "<h3>Su direccion electronica no es valida o esta mal escrita, reingresela por favor.</h3>\n"; echo $badinput; } $asunto = $asunto ; $subject = $asunto; $message = " $todayis [EST] \n - ASUNTO: $asunto \n - ESCRIBE: $nombre ($email)\n - TITULO DEL MENSAJE: $asunto\n - MENSAJE: $nota \n ------------------------------------------------------------------------------------------------------------------------------------\n - INFORMACION ADICIONAL: IP = $ipi \n - NAVEGADOR USADO: $httpagenti \n - SE CONTACTO DESDE LA PAGINA: $httprefi \n "; $from = "From: Formulario desde la web$email\r\n"; ?> <p> </p> <p> </p> <div align="center"> /*esta sería la linea 49 que me da error*/ <table border="0" id="table1" cellspacing="0" cellpadding="0" width="780"> <tr> <td width="70" height="344"> <p align="center"> <br> <img border="0" src="dflateral.gif" width="70" height="139"><p align="center"> <br> <font color="#FFFFFF">Home<br> </font><p align="center"> </td> <td><br> </td> <td width="640" valign="bottom"> <table border="0" id="table2" cellspacing="0" cellpadding="0" height="399" width="769"> <tr> <td height="15" width="203"></td> <td height="15" width="28"></td> <td height="15" width="5"></td> <td height="15" width="194"></td> <td height="15" width="5"></td> <td height="15" width="194" colspan="2"></td> <td height="15" width="140"> <p align="center"> <SCRIPT language=JavaScript type=text/javascript> <!-- escribir('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="120" HEIGHT="20" id="musica" ALIGN="">'); escribir('<param name="movie" value="musica.swf">'); escribir('<param name="quality" value="high">'); escribir('<embed src="musica.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" WIDTH="120" HEIGHT="20"></embed>'); escribir('</object>'); //--> </SCRIPT> </td> </tr> <tr> <td height="20" width="203"> </td> <td height="20" width="425" colspan="5" align="center"> <form method="post" action="sendform.php" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript" name="FrontPage_Form1"> <p><font color="#FFFFFF" face="Arial">Confirmación de envío</font><p><br> <b><font face="Tahoma" size="2"> <font color="#FFFFFF">Fecha:</strong><?php echo $todayis ?><strong> <br /> Remitente:</strong><?php echo $nombre ?>( <?php echo $email ?> )<strong> </strong></font></font> <p align="center"><font face="Tahoma" size="2"><strong> <font size="2" face="Tahoma" color="#FFFFFF">Su Mensaje:<?php $notesout = str_replace("\r", "<br/>", $nota);echo $notesout; ?> </font> </strong></font> <p align="center"><font face="Tahoma" size="2"> <font size="2" face="Tahoma" color="#FFFFFF"> <strong> <br /> Su Direccion IP:<?php echo $ip ?> <br /> Referido desde:<?php echo $httpref ?> </font> <p align="center"><a href="respuesta_ok.php" style="text-decoration: none"> <font color="#FFFFFF" face="Tahoma" size="2">[CONFIRMAR]</font></a></td> <td height="20" width="71" align="center"> </td> <td height="20" width="70" align="center"> </td> </tr> <tr> <td height="20" width="203"> </td> <td height="20" width="28"> </td> <td height="20" width="5"> </td> <td height="20" width="194"> </td> <td height="20" width="5"> </td> <td height="20" width="194" colspan="2"> </td> <td height="20" valign="bottom" width="140"> <img border="0" src="DA.gif" width="167" height="26"></td> </tr> </table> </td> </tr> </table> </div>