Lines Matching refs:sql
66 function result_first($sql) { argument
67 $query = $this->query($sql);
71 function fetch_first($sql) { argument
72 $query = $this->query($sql);
76 function fetch_all($sql, $id = '') { argument
78 $query = $this->query($sql);
89 function query($sql, $type = '', $cachetime = FALSE) { argument
91 if(!($query = $func($sql, $this->link)) && $type != 'SILENT') {
92 $this->halt('MySQL Query Error', $sql);
95 $this->histories[] = $sql;
154 function halt($message = '', $sql = '') { argument
159 $this->query($sql);
165 if($sql) {
166 $s .= '<b>SQL:</b>'.htmlspecialchars($sql).'<br />';