Prueba asi, solo movi una linea de lugar:
Código PHP:
$result = mysql_query("Select Li.Titol, Li.Tema , Le.ID From llibres Li Inner join Ejemplares e On Li.REF = e.REF Inner join Lectors Le On e.ID = Le.ID Where e.ID='1'");
echo "<table border='1' >";
echo"<tr>"
echo"<th>Titol</th>";
echo "<th>Autor</th>";
echo"</tr>";
while ($row = mysql_fetch_array($result))
$titol=($row['Titol']);$autor=($row['Autor']);$id=($row['ID']);
{
echo "<tr>";
echo "<td>" . $titol . "</td>";
echo "<td>" . $autor . "</td>";
echo "</tr>";
}
echo "</table>";