$token = dbesc($token);
$count = dbesc($count);
$uid = dbesc($uid);
- array_push($this->_puts, '("' . $token . '", "' . $count . '", '"' . $uid .'")');
+ array_push($this->_puts, '("' . $token . '", "' . $count . '", "' . $uid .'")');
}
/**
$token = dbesc($token);
$count = dbesc($count);
$uid = dbesc($uid);
- array_push($this->_puts, '("' . $token . '", "' . $count . '", '"' . $uid .'")');
+ array_push($this->_puts, '("' . $token . '", "' . $count . '", "' . $uid .'")');
}
/**
if(count($this->_updates) > 0) {
// this still needs work
- $result = q("select * from " . $this->config['table_name'] . ' where token = ';
+ $result = q("select * from " . $this->config['table_name'] . ' where token = ');
$result = q('