while ($row = ...blabla... ) {echo "<li> <a href=\"proyectos.php?id=".$row['id']."\" target=\"_blank\"> ".$row['titulo']." </a></li>";}