sqleval() can now be used with %s, %i, and all that good stuff
there is probably no good reason to do this, as things like md5() can be done from PHP, but people keep asking for it, so here it is :)
This commit is contained in:
@@ -181,7 +181,9 @@ class DB
|
||||
call_user_func_array('DB::queryNull', $args);
|
||||
}
|
||||
|
||||
public static function sqleval($text) {
|
||||
public static function sqleval() {
|
||||
$args = func_get_args();
|
||||
$text = call_user_func_array('DB::parseQueryParams', $args);
|
||||
return new MeekroDBEval($text);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user