06/11/2010, 15:49
|
| | | Fecha de Ingreso: octubre-2010 Ubicación: Cordoba
Mensajes: 8
Antigüedad: 14 años, 3 meses Puntos: 0 | |
Respuesta: Relacionar Tablas Muchas gracias por tu mensaje amigo. Al final lo conseguí de la siguiente forma:
$re=mysql_query('select * from pfs_article_us where id ="'.$_GET['id'].'" ');
while($f=mysql_fetch_array($re)){
$re2=mysql_query('select * from pfs_topic_us where id ="'. $f['tid'] .'" ');
$f2=mysql_fetch_array($re2);
echo $f2['title'];
} |