in reply to Question - fetchrow_arrayref

Printing HTML will never retrieve things from your database.

I would suggest something along the lines of:

select * from <tablename> where <condition>

--
TTTATCGGTCGTTATATAGATGTTTGCA