Skip to content

Commit

Permalink
Update scraper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak committed Jan 25, 2016
1 parent 660a3bd commit 3963c82
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions scraper.php
Expand Up @@ -57,23 +57,3 @@ function ripByPage($page){
));
}
}
function validateEntry($id){
$result = false;
// Set total number of rows
try {
$recordSet = scraperwiki::select("* from data where id ='". $id . "'");
if (!empty($recordSet[0]['id'])) {
if ($recordSet[0]['surname'] != ""){
$result = true;
}
if ($recordSet[0]['firstname'] != ""){
$result = true;
}
if ($recordSet[0]['fathername'] != ""){
$result = true;
}
}
} catch (Exception $e) {
}
return $result;
}

0 comments on commit 3963c82

Please sign in to comment.