Ejemplo n.º 1
0
 function getone($sql, $type = MYSQL_ASSOC)
 {
     $query = $this->query($sql, $this->linkid);
     $row = mysql_fetch_array($query, $type);
     foreach ($row as $key => $value) {
         $row[$key] = $value;
     }
     return help::htmlspecialchars_($row);
 }