Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/01/2004, 15:24
rogel
 
Fecha de Ingreso: noviembre-2003
Mensajes: 157
Antigüedad: 20 años, 4 meses
Puntos: 0
Parse error????

Hola hice el siguiente código y me sale el mensaje de parse error pero no he podido encontrar el porque

Código PHP:
require('conexion');
mysql_select_db("estudios");
$string="Select cod, c_nombre, profesor, creditos, sem_ano, 
cod, n_alumno,sem_ano, nota from notas, cursos
where (notas.cod=cursos.sigla) and n_alumno='1023'"
;
$resp=mysql_query($string,$link)or die("error" .mysql_error());
$total=mysql_num_rows($resp);
echo 
$total;
while(
$rows=mysql_fetch_array($resp){
$contador=0;
echo 
$rows[$contador];
echo
"<br>";
$contador=$contador+1;

el parse error me sale en la linea del while

agradezco su ayuda