$all = sql_allfetsel('column', 'table'); // $all[0]['column'] is the column in the first line retrieved