From: Maung Aung Date: 2007-08-23T04:50:18+09:00 Subject: Re: how to get data from database as string What about if I want to fetch multiple rows? Any suggestion would be greatly appreciated. maung Brian Candler wrote: cursor = conn.exec("Select username, password from foo where > id=1234") > row = cursor.fetch_hash > cursor.close > myLogin1.setup("http://www.testing.com/", row['USERNAME'], > row['PASSWORD']) > > Brian. -- Posted via http://www.ruby-forum.com/.