Lines Matching refs:query
62 function fetch_array($query, $result_type = MYSQL_ASSOC) { argument
63 return mysql_fetch_array($query, $result_type);
67 $query = $this->query($sql);
68 return $this->result($query, 0);
72 $query = $this->query($sql);
73 return $this->fetch_array($query);
78 $query = $this->query($sql);
79 while($data = $this->fetch_array($query)) {
86 $this->query("DELETE FROM {$this->tablepre}sqlcaches WHERE expiry<$this->time");
89 function query($sql, $type = '', $cachetime = FALSE) { function in ucclient_db
91 if(!($query = $func($sql, $this->link)) && $type != 'SILENT') {
96 return $query;
111 function result($query, $row) { argument
112 $query = @mysql_result($query, $row);
113 return $query;
116 function num_rows($query) { argument
117 $query = mysql_num_rows($query);
118 return $query;
121 function num_fields($query) { argument
122 return mysql_num_fields($query);
125 function free_result($query) { argument
126 return mysql_free_result($query);
130 …return ($id = mysql_insert_id($this->link)) >= 0 ? $id : $this->result($this->query("SELECT last_i…
133 function fetch_row($query) { argument
134 $query = mysql_fetch_row($query);
135 return $query;
138 function fetch_fields($query) { argument
139 return mysql_fetch_field($query);
159 $this->query($sql);