Ver Mensaje Individual
  #1 (permalink)  
Antiguo 24/04/2004, 11:04
Avatar de alucard3003
alucard3003
 
Fecha de Ingreso: abril-2004
Mensajes: 148
Antigüedad: 20 años
Puntos: 0
Error raro.....

bueno tengo esto
Código PHP:
while ($reg mysql_fetch_array($query)){
                        echo 
"<tr>";
                        for (
$i 0$i <= 3$i++) {
                        echo 
"<td>",$reg[$i],"</td>";}
                        echo 
"<td><a href=\"curriculums/$reg[4]\">",$reg[4],"</a></td>";
                        echo 
"<td>",$reg[5],"</td>";
                        echo 
"</tr>";} 
en el archivo curriver.php, cuando lo cargo solo me carga normal, pero cuando lo cargo desde otra pagina me da este error:

Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in c:\Apache\htdocs\curriver.php on line 39
y la linea 39 vendria a ser echo "<td>",$reg[5],"</td>";
Es rarisimo, si no funciona no deberia funcionar cuando lo cargo solo,saben porq?
__________________
X