Ver Mensaje Individual
  #1 (permalink)  
Antiguo 31/03/2009, 18:01
fernacasa
 
Fecha de Ingreso: septiembre-2008
Mensajes: 3
Antigüedad: 15 años, 7 meses
Puntos: 0
Error Parse error: syntax error, unexpected '}'

Ola tengo el siguiente codigo en el cual me la un error.. he dad con todo pero aun no le doy la solucion kisiera k me ayudaraan porfavor..

while($visitasgeneral = mysql_fetch_array($sql)){
echo "
<table width='805' border='0' cellpadding='0' cellspacing='0'>
<tr class='campostabulacion'>
<td width='70'>".fechauser(dividirfecha($visitasgenera l['fecha']))."</td>
<td width=56'>".$visitasgeneral['placa']."</td>
<td width=62'>".$visitasgeneral['marca']."</td>
<td width='70'>".$visitasgeneral['modelo']."</td>
<td width='60' align='center'>".substr($visitasgeneral['tipo'],0,5)."</td>
<td width='80' align='center'>".$visitasgeneral['ingreso']."</td>
<td width='80' align='center'>".$visitasgeneral['salida']."</td>".
$tecnico = "SELECT visi.codpto, visi.fecha as fecha, visi.hora as ingreso, visi.horsal as salida, visi.placa as placa, t1.estado, tipo.nomtip as tipo, (SELECT desmar FROM tbl_marcav where codmar=veh.codmar) as marca, (SELECT desmod FROM tbl_modelov where codmod=veh.codmod) as modelo FROM mst01cot t1 right join mst_visitasv visi on t1.nropla = visi.placa inner join tbl01tip tipo on t1.tipcot = tipo.codtip inner join tbl01veh veh on visi.placa = veh.nropla where visi.fecha BETWEEN '".$fechainicio."' and '".$fechafinal."' and t1.estado = '5' and tipo.codtip = '01' ".$sen2." ".$sen1."";
$sql2 = mysql_query($tecnico);
while($tecnicogeneral = mysql_fetch_array($sql2))
{
"<td>Resultado Obtenido</td>
<td>Tecnico</td>"
}
"</tr></table>";
}

el error me en el corchete ke cierra el segundo while while($tecnicogeneral = mysql_fetch_array($sql2)) ayudeme por favorrrrrrrrrrr