sqlite_fetch_single SQLiteResult::fetchSingle SQLiteUnbuffered::fetchSingle Fetches the first column of a result set as a string &reftitle.description; stringsqlite_fetch_single resourceresult booldecode_binarytrue &style.oop; (method): stringSQLiteResult::fetchSingle booldecode_binarytrue stringSQLiteUnbuffered::fetchSingle booldecode_binarytrue sqlite_fetch_single is identical to sqlite_fetch_array except that it returns the value of the first column of the rowset. This is the most optimal way to retrieve data when you are only interested in the values from a single column of data. &reftitle.parameters; result The SQLite result resource. This parameter is not required when using the object-oriented method. decode_binary &sqlite.decode-bin; &reftitle.returnvalues; Returns the first column value, as a string. &reftitle.examples; A <function>sqlite_fetch_single</function> example 0) { echo sqlite_fetch_single($res); // 42 } sqlite_close($dbhandle); } ?> ]]> &reftitle.seealso; sqlite_fetch_array