![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
14/12/2008, 16:53
|
![Avatar de karlic0s](http://static.forosdelweb.com/customavatars/avatar179487_1.gif) | | | Fecha de Ingreso: abril-2007 Ubicación: Cartagena (Murcia)
Mensajes: 241
Antigüedad: 17 años, 9 meses Puntos: 18 | |
Respuesta: Problema con variable y select while($row = mysql_fetch_array($_pagi_result)){
$result2=mysql_query("select * from comentarios where id='".$row[id_noticia]."'",$connect);
$totalcomentarios=mysql_num_rows($result2);
$result3=mysql_query("select * from usuarios where nick='".$row[autor]."'",$connect);
$fila=mysql_num_rows($result3);
He probado tambien con $fila = mysql_fetch_assoc($result3); y tampoco :S
PD: gracias por tu tiempo Ronruby |