From 8b259dc01e04e2aadbab1b185262f76b253cd9b1 Mon Sep 17 00:00:00 2001 From: kkalev Date: Mon, 14 Apr 2003 22:17:43 +0000 Subject: [PATCH] Add support for regexp and like operators in accounting report generator --- Changelog | 1 + htdocs/accounting.php3 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index a2fce11..7fbd5de 100644 --- a/Changelog +++ b/Changelog @@ -18,6 +18,7 @@ Ver 1.63: * Fix a problem with user_stats.php3 * Update the README file with notes about the scripts present in the bin folder * Add a +* Add support for regexp and like operators in accounting report generator Ver 1.62: * Remove one sql query from user_admin which was not needed. * Instead of a query like "LIKE 'YYYY-MM-DD%'" use "AcctStopTime >= 'YYYY-MM-DD 00:00:00 AND AcctStopTime diff --git a/htdocs/accounting.php3 b/htdocs/accounting.php3 index 05ecc39..33f2cd0 100644 --- a/htdocs/accounting.php3 +++ b/htdocs/accounting.php3 @@ -23,7 +23,7 @@ EOM; exit(); } -$operators=array( '=','<', '>', '<=', '>=' ); +$operators=array( '=','<', '>', '<=', '>=', 'regexp', 'like' ); $link = @da_sql_pconnect ($config) or die('cannot connect to sql databse'); $fields = @da_sql_list_fields($config[sql_accounting_table],$link,$config); -- 2.39.5