Lines Matching refs:query
85 $query = new Query('UPDATE phpcal SET '); variable
87 $query->add('sdato=?, ', [$sdato]);
90 $query->add('edato=?, ', [$edato]);
93 $query->add('recur=?, ', [$recur]);
95 $query->add(
99 db_query($query);
250 $query = new Query("SELECT COUNT(id) FROM phpcal"); variable
251 $query->addQuery($searchby);
252 $res = db_query($query);
255 $query = new Query("SELECT phpcal.*,country.name AS cname FROM phpcal LEFT JOIN country ON phpcal.c… variable
256 $query->addQuery($searchby);
267 $query->add(" ORDER BY $order $ext");
269 $query->add(' LIMIT ?int, ?int', [$begin, $max]);
270 $res = db_query($query);