Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/09/2007, 13:33
Avatar de T4ke0veR
T4ke0veR
 
Fecha de Ingreso: agosto-2007
Ubicación: Quito - Ecuador
Mensajes: 1.720
Antigüedad: 17 años, 6 meses
Puntos: 28
Re: Lectura de datos

disculpen vuelva a escribir pero desarrolle otro codigo y me da un error

Parse error: syntax error, unexpected '}' in C:\wamp\www\Ocean\Web\inc_cat_list_pro.php on line 51

Código PHP:
<?php 
include ('Connections/listproduc.php');
$sql="SELECT * FROM categoria";
$sql_exec=mysql_query($sql);
?>
<style type="text/css">
<!--
body {
    margin-left: 0px;
    margin-top: 0px;
}
-->
</style>
<link href="estilos.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
<table width="54%" border="0" align="left" cellpadding="0" cellspacing="2" bordercolor="#EBEBEB" class="letrasform2">
  <?php
        
while($row=mysql_fetch_array($sql_exec)){
        
$Id_categoria=$row['PKID'];
        
$categoria=$row['nombre'];
        
?>
  <tr bgcolor="#F4F4F4" class="style3">
    <td width="116" height="10" bgcolor="#FFFFFF" class="ngr_tah"><div align="left" class="style4">
      <br />
      <br />
      <br />
    </div></td>
    <td width="30" height="10" bgcolor="#FFFFFF" class="ngr_tah"><span class="style4">
      <?=$row['nombre']?>
    </span></td>
    <td height="10" bgcolor="#FFFFFF" class="ngr_tah">&nbsp;</td>
    <td height="10" bgcolor="#FFFFFF" class="ngr_tah">&nbsp;</td>
  </tr>
  
  <?php $sqlexz="SELECT * FROM producto WHERE PKID=".$rowex['PKIDCAT'];
        
$sql_execexz=mysql_query($sqlexz);
        while(
$rowexz=mysql_fetch_assoc($sql_execexz))?>
  <tr bgcolor="#E5E5E5" class="style3">
    <td height="20" bgcolor="#FFFFFF" class="azulgris_verd_nrm style1">&nbsp;</td>
    <td height="20" bgcolor="#FFFFFF" class="azulgris_verd_nrm style1">&nbsp;</td>
    <td width="21" height="20" bgcolor="#FFFFFF" class="azulgris_verd_nrm style1">&nbsp;</td>
    <td width="499" bgcolor="#FFFFFF" class="azulgris_verd_nrm"><a href="ficha_prod.php?PKID=<?=$rowexz['PKID']?>">
      <?=$rowexz['nombre']?>
    </a></td>
  </tr>
  <?php }?>
  <?php }?> //<---- Linea 51  --->//
  <?php }?> 
</table>
<br />