TheMayhem, it sounds like you don't quite have a grasp on what [man]mysql_query[/man] and [man]mysql_fetch_array[/man] really do. I have conveniently linked them to the manual for you so you can read up on them. I recommend you take a gander at them (for your own future sanity)
In both of your examples, you got the expected results for what you coded for. In other words, they both worked perfectly to do what you told them to do. It may not be what YOU expected, but that's where your understanding of those functions come in. Once you understand them, you will know what to expect from them, and how to get the data you truley want out of them.