ahi lo arreglé, habia algunos problemas mas, mira:
Código PHP:
Ver original<table width="500px" border="1">
<tr>
<td width="50px"><?php echo '<img src=https://graph.facebook.com/'.$todo_bien['de_interaccion'].'/picture>';?></td>
<td width="300px"><?php echo $todo_bien['nombrecompleto_usuario'];?></td>
<td><?php if($todo_bien['valor_interaccion'] == 1) echo "Dijo Sí";
if($todo_bien['valor_interaccion'] == 2) echo "Dijo Capaz!";?></td>
</tr>
</table>
<?php }?>
Sin embargo no me muestra esta parte: <?php echo $todo_bien['nombrecompleto_usuario'];?
La consulta es:
Código PHP:
Ver originalFROM interaccion I
WHERE (I.a_interaccion = "'.$_SESSION['fid_username'].'"
AND I.de_interaccion IN(SELECT
a_interaccion
FROM interaccion H
WHERE H.de_interaccion = "'.$_SESSION['fid_username'].'"))
AND valor_interaccion <> 3
',$db);