Ok so i have a mysql database with a table called fotf\_images, which as you can guess stores image information like location, name, etc..

Now what im doing is dynamically adding img tags for each row using the following code:

```
$count = 0;
                        $currentcount = $count; //gets row by count number

                        while($count < $numrows)
                        {
                            echo '<img src="" width="250" height="200" class="fotfimage" vspace="2">&nbsp;&nbsp;&nbsp;&nbsp;';

                            $count++;
                            if($count == $numrows)
                            {
                                break;  
                            }

                        }

```

Now what i need to do is actually display the image based on the data in the currently selected rows column 1. So for example, if there is 3 rows, then my current code will add 3 img tags, i then need to add the src for each img tag based on the field value for each rows' column 1 which stores its location.

Any help on this would be greatly appreciated. Thanks!