I'm trying to figure out if I need to do this inside the for loop or outside the for loop but I want to check to see its empty or not first.

```
echo "<ul>";
for($x = 0; $x <= (count($quotesArray)-1); $x++)
{
    echo "<li>".stripslashes($quotesArray[$x]->quote)."</li>";
}
echo "</ul>";

```