Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
...
//My application obtains data with a SELECT statement,
// including the primary key for the row to be viewed.
$sqlStatement = "SELECT colA, colB, mytable_id ";
$sqlStatement .= "FROM MyTable WHERE colX = $xToView ";
//This would be the code in ActivePerl using Win32::ODBC
// for obtaining the primary key value.
$aDB->Sql($SqlStatement);
%aRowOfData = $aDB->DataHash();
$rowViewedID = $aRowOfData{'mytable_id'};
...
//Then update that row.
$sqlStatement = "UPDATE MyTable SET times_viewed = times_viewed + 1 ";
$sqlStatement .= "WHERE mytable_id = $rowViewedID ";
$aDB->Sql($SqlStatement);