Lines Matching refs:sql
55 function result_first($sql) { argument
56 $query = $this->query($sql);
60 function fetch_first($sql) { argument
61 $query = $this->query($sql);
65 function fetch_all($sql, $id = '') { argument
67 $query = $this->query($sql);
78 function query($sql, $type = '', $cachetime = FALSE) { argument
80 if(!($query = $this->link->query($sql, $resultmode)) && $type != 'SILENT') {
81 $this->halt('MySQL Query Error', $sql);
84 $this->histories[] = $sql;
147 function halt($message = '', $sql = '') { argument
152 $this->query($sql);
158 if($sql) {
159 $s .= '<b>SQL:</b>'.htmlspecialchars($sql).'<br />';