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