Código PHP:
$ssql = "SELECT * FROM pdte_confirmar WHERE creador = 'pepe'";
$rs = mysql_query($ssql,$conn);
while($row = mysql_fetch_array($rs))
{
$ssql2 = "SELECT * FROM eventos WHERE id = '$row[1]'";
$rs2 = mysql_query($ssql2,$conn);
while($row2 = mysql_fetch_array($rs2))
{
echo $row2[1];
}
}
Gracias.