I'm not sure if I get your problem, just use "SELECT username, id FROM tablename" instead of "SELECT * FROM tablename" in mysql? And with join queries you can even select data from multiple tables/databases with 1 query.
_________________
Land of Destiny - http://www.landofdestiny.com [landofdestiny.com]>