Ver Mensaje Individual
  #5 (permalink)  
Antiguo 07/07/2010, 09:55
gerortiz
 
Fecha de Ingreso: septiembre-2008
Mensajes: 52
Antigüedad: 15 años, 7 meses
Puntos: 0
ehmm!! uxa, hice esto:

Código PHP:
Ver original
  1. $sql = mysql_query("SELECT * FROM carpeta ORDER BY codigo_sector DESC");
  2.        
  3.     while ($lista = mysql_fetch_array($sql);)
  4.                 {        
  5.                        for ($i=0; $i<$lista["numero_de_encuestas"]; $i++)
  6.                        {
  7.         if($lista['encuestador'] == $_SESSION['s_username'])
  8.         {
  9.         print ("<TABLE class='listable' width='600px' border='1'>");
  10.         print ("<TR>\n");
  11.         print ("<TD align='center' width='105' name='enc'><a href='encuesta.php?seccion=".$lista['seccion']."'>" . $lista['encuestador'] . "</a></TD>\n");
  12.         print ("</TR>\n");
  13.         print ("</TABLE>\n");          
  14.         }
  15.     }}
y me dice:
Parse error: parse error in C:\wamp\www\Proyecto NENE\plataformaEncuesta\mis_encuestas.php on line 153

osea en la linea del while!!

o me parece que en la parte del for esta alegando!

Última edición por GatorV; 07/07/2010 a las 11:12