PHP SDK "value"
SQLiteCloudRowset.value($row, $col)
Use the function to retrieve the value of an item in the Rowset at row $row (from 0 to SQLiteCloudRowset.nrows) and column $col (from 0 to SQLiteCloudRowset.ncols).
Return value
The column value.
Example
$sqlitecloud = new SQLiteCloud();
$sqlitecloud->username = 'admin';
$sqlitecloud->password = 'admin';
try {
if ($sqlitecloud->connect('mynode.sqlite.cloud', 8860) == false) {
$msg = $sqlitecloud->errmsg;
$sqlitecloud = NULL;
return $msg;
}
} catch (Exception $e) {
return $e->getMessage();
}
$result = $sqlitecloud->execute('LIST INFO');
$col = 1;
$row = 1;
$value = $result->value($row, $col);
$sqlitecloud->disconnect();