You are on page 1of 1

FetchRow

Fetches the next row of data from the previous specified SQL statement. You would then
call Data or DataHash to actually retrieve the individual elements of data. Returns undef if there's an
error, TRUE otherwise.

Example:
$db->Sql("SELECT * FROM foo");
$db->FetchRow() || die qq(Fetch error: ), $db->Error(), qq(\n);
$f1 = $db->Data("f1");
See also: Sql, Data, DataHash

You might also like