Originally posted by swattle
No I had it with == (typo) I just can't get it to move to the next row. If a merchant is featured it has a value of 1 in the db and 0 if it's not a featured merchant.
By having just one equals in there, you are setting the value of the variable to 1, not checking if it is already equal to 1.
There is nothing in your code snippet to loop through the merchants. There is nothing in your code snippet to load the array.
You need to send a select query to the database, where featured_merchant = 1. (MySQL uses just one equals for a comparison). This will then set up an array of return values for you to loop through, printing any fields you want.
For a good example of what you need to be doing, check out the first example on this page:
http://www.php.net/manual/en/ref.mysql.php