SI ALGUIEN ME AYUDA ESTARE MUY AGRADECIDO
EL ERROR ES EL SIGTE
Código HTML:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in c:\wamp\www\root\Edita.php on line 98 (la linea 98 es el select tipo )
Código PHP:
<?php
include('conex.php');
$link=Conectarse();
$result=mysql_query("SELECT * FROM Equipos WHERE Id_Equipos ='$Id_Equipos'",$link);
if($row=mysql_fetch_row($result))
{
echo "
<form name=formulario method=post action=modifica_registro.php>
<input type=hidden name='Id_Equipos' value='$Id_Equipos'>
<table width='617' border='0' cellpadding='0' cellspacing='0'>
<input type='HIDDEN' name='Id_Equipos' value='$row[0]' size='10' maxlength='10'>
<tr>
<td width='67' height='26'> </td>
<td width='41'> </td>
<td width='91'> </td>
<td width='38'> </td>
<td width='11'> </td>
<td width='20'> </td>
<td width='21'> </td>
<td width='41'> </td>
<td width='62'> </td>
<td width='114'> </td>
<td width='2'> </td>
<td width='17'> </td>
<td width='11'> </td>
</tr>
<tr>
<td height='29' colspan='10' valign='top'><div align='center'>
<table width='100%' border='1'>
<!--DWLayoutTable-->
<tr>
<td width='100%' height='20' valign='top' bgcolor='#99CC33'> <div align='center'><font color='#666666' size='3' face='Courier New, Courier, mono'><strong>.:<font color='#000000'>EQUIPOS</font>:.</strong></font></div></td>
</tr>
</table>
<font color='#666666' size='4'></font></div>
<td> </td>
<tr>
<td height='21' colspan='10' valign='top'><hr></td>
<td></td>
</tr>
<tr>
<td rowspan='20' valign='top'> </td>
<td height='18'></td>
</tr>
<tr>
<td height='15'></td>
<td></td>
<td></td>
<td width='37'></td>
<td width='71'></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td rowspan='2' valign='top'><font size='1'>Nº de Serie:</font></td>
<td colspan='3' rowspan='3' valign='top'><input type='text' name='N_Serie' value='$row[4]'>
</td>
<td colspan='3' rowspan='2' valign='top'><font size='1'>Fecha de Compra:</font></td>
<td colspan='4' rowspan='3' valign='top'> <input type='text' name='Fecha_Compra' value='$row[6]'></td>
<td></td>
</tr>
<tr>
<td height='3'></td>
<td></td>
<td></td>
</tr>
<tr>
<td height='7'></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height='15' valign='top'><font size='1'>Tipo:</font></td>
<td rowspan='3' valign='top'> <select name='Tipo' id='select' value='$row[1]'>
<option value='' >Elija Tipo </option>
<?php
$result=mysql_query('SELECT * FROM Tipo1',$link);
while($row=mysql_fetch_array($result))
echo ('<option value=''.$row['Tipo'].'>'.$row['Tipo'].'</option>');
?>
</select></td>
<td></td>
<td></td>
<td colspan='3' valign='top'><font size='1'>Nº de Factura:</font></td>
<td colspan='4' rowspan='2' valign='top'> <input type='text' name='N_Factura' value='$row[7]'></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height='7'></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height='2'></td>
<td></td>
<td></td>
<td colspan='3' rowspan='2' valign='top'><font size='1'>Rut del Proveedor:</font></td>
<td colspan='4' rowspan='4' valign='top'> <input type='text' name='Rut_Proveedor' value='$row[8]'></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td rowspan='2' valign='top'><font size='1'>Marca:</font></td>
<td rowspan='4' valign='top'> <select name='Marca' id='Marca' value='$row[2]'>
</select></td>
<td height='13'></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height='2'></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height='5'></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td rowspan='2' valign='top'><font size='1'>Modelo:</font></td>
<td height='4'></td>
<td></td>
<td colspan='2' rowspan='2' valign='top'><font size='1'>Rut Asignado:</font></td>
<td></td>
<td colspan='2' rowspan='3' valign='top'> <select name='Rut_Asignado' id='Rut_Asignado' value='$row[9]'>
</select></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td colspan='3' rowspan='3' valign='top'> <select name='Modelo' id='Modelo' value='$row[3]'></td>
<td height='11'></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height='9'></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height='2'></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height='37'> </td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td> </td>
</tr>
<tr>
<td height='15' valign='top'><font size='1'>Descripción:</font></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height='136'></td>
<td colspan='7' rowspan='4' valign='top'> <textarea name='Descripcion' cols='40' rows='10' wrap='PHYSICAL'>$row[5]</textarea>
</td>
<td>
<td>
<td>
<td>
<td>
<td> </td>
</tr>
<tr>
<td height='24'></td>
<td colspan='2' valign='top'> <input type='submit' name='Submit' value='Modificar Datos'>
</table>
</form>
";
}
?>