PHP-MySQLi-Database-Class
PHP-MySQLi-Database-Class copied to clipboard
Case sensitivity problem in $db->groupBy('')
DB field name is userID If I use groupBy as $db->groupBy('userID'); it doesn't work. (uppercase i) But if I use it as $db->groupBy('useriD'); it works. (lowercase i)
groupBy() uses preg_replace() function and I think this is the problem.
why preg_replace will be a problem here?