it returns a result source just like mysql_query() would...
there for you get a collection of data from mysql that for simplicitys sake we'll say looks like this...
Table1|Table2|Table3|Table4 (the | denoting seperation of rows)
now what the while loop does via the mysql_fetch_row is say oke... give me 1 row of data (in this case its 1 table name)
so you get Table1
then it keeps looping until $row is no longer set to a new row of data
so that gives you the final output of
Table1
Table2
Table3
Table4