0% found this document useful (0 votes)
24 views1 page

Fetch Row

FetchRow fetches the next row of data from a previous SQL statement. It returns undef if there is an error or TRUE otherwise. You then use Data or DataHash to retrieve individual data elements from the fetched row.

Uploaded by

Amutha Arun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views1 page

Fetch Row

FetchRow fetches the next row of data from a previous SQL statement. It returns undef if there is an error or TRUE otherwise. You then use Data or DataHash to retrieve individual data elements from the fetched row.

Uploaded by

Amutha Arun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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