sql_getfetsel

The sql_getfetsel() function retrieves the single column requested from the first row of the selection. It accepts the same parameters as the sql_select() function and is a short-cut for the combination of calling sql_fetsel() and array_shift().