Jeremy Privett Posted March 15, 2006 Posted March 15, 2006 Matt, The current MySQL Class in the IPS Kernel replaces that table prefix with the following regex:$the_query = preg_replace("/\sibf_(\S+?)([\s\.,]|$)/", " ".$this->obj['sql_tbl_prefix']."\\1\\2", $the_query); Do you think you could change this to: $the_query = preg_replace("/\s(`|)ibf_(\S+?)(`|)([\s\.,]|$)/", " \\1".$this->obj['sql_tbl_prefix']."\\2\\3\\4", $the_query); So it will have support for backticks around table names? Thanks. :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.