cant display results from database <p>So i got a table on the database, that got some fields, and the image field got only the name of the images, the images are saved on a folder. I got this code to display the results, but its not showing anything, the page is blank..</p> <pre><code>&lt;?php include('ligacao.php'); $result = mysql_query("SELECT nome, genero, ano, banda, preco, arquivo FROM albuns"); while($row = mysql_fetch_array($result)) { { echo "&lt;div id='sitios'&gt;"; echo "&lt;div class='imageRow'&gt;"; echo "&lt;div class='single'&gt;"; echo "&lt;a href='imagens_albuns/" . $row['arquivo'] . "' rel='lightbox'&gt;&lt;img src='imagens_albuns/thumbnails/". $row['arquivo'] . "'/&gt;&lt;/a&gt;"; echo "&lt;/div&gt;"; echo "&lt;/div&gt;"; echo "&lt;div id='texto'&gt;"; echo "&lt;h2&gt;&lt;b&gt;" . $row['nome'] . "&lt;/b&gt;&lt;/h2&gt;"; echo "&lt;h3&gt;&lt;b&gt;Genero::&lt;/b&gt;&lt;/h3&gt;" . $row['genero'] . "&lt;/br&gt;"; echo "&lt;h3&gt;&lt;b&gt;Ano:&lt;/b&gt;&lt;/h3&gt;" . $row['ano'] . "&lt;/br&gt;"; echo "&lt;h3&gt;&lt;b&gt;Banda:&lt;/b&gt;&lt;/h3&gt;" . $row['banda'] . "&lt;/br&gt;"; echo "&lt;h3&gt;&lt;bPreço:&lt;/b&gt;&lt;/h3&gt;" . $row['preco'] . "€"; echo "&lt;/div&gt;"; echo "&lt;/div&gt;"; } } mysql_close($ligacap); ?&gt; </code></pre> <p>What can it be?</p>