My goal is to print all results (fetched from database) and print it according to respective formation.

In html, I could defined it as follows:

```
<div class="gallery-item category-birds">
<div class="gallery-item-image" style="background-image: url( '_uploads/bc7113a3956b7a45e926f30258fa1b83.jpg' );">
<div class="gallery-item-image-pattern">
<span>Show image</span>
</div>
</div>
<h3>ImageTest1</h3>
<p>MyImageDescription.</p>
</div>

```

In php, I am trying to print the results in a loop (like I have done before in others examples) but for some reason it's not working. 

**"animals.php"**

```
<?php
include("../config.php");

$result = mysql_query("SELECT * FROM animals WHERE catid=2 ORDER BY id DESC",$connect);

while($myrow = mysql_fetch_assoc($result))          
{//begin of loop
echo "<div class='gallery-item category-birds'>";
echo "<div class=gallery-item-image style='background-image:url(_uploads/bc7113a3956b7a45e926f30258fa1b83.jpg);'>";
echo "<div class=gallery-item-image-pattern>";         
echo "<span>Show image</span>";            
echo "</div>";
echo "</div>";
echo "<h3> ".$myrow['name']." </h3>";
echo "<p> ".$myrow['description']." </p>";
echo "</div>";          
}//end of loop  
?>   

```

The index.php includes "**animals.php**".  

The database connection is fine, because by accessing `"animals.php"` I have the content desired.
The `index.php` have css linked, where is defined the classes and others.

I have tried to replace inside of those echo's: **" for \"**. -> Not working.  

I have tried to replace inside of those echo's: **" for '**. -> Not working.

Could you help me? Iam out of ideas how to solve this.

Thanks and regards,
RMC