I've never heard of the [field_name] thing. I'll have to give it a whirl.
But if you're just using field_name to stand in for the field name read in by the fetch_array command, then you're not quite answering his question..
That will only produce one item from the row, not all the data from the database.
Could always use print_r instead of my for loop. I was just allowing for more output control with the for loop.