Notice: Use of undefined constant MERCURY_INDEX_ERROR - assumed 'MERCURY_INDEX_ERROR' in /var/www/vip6/sites/vip0927926/httpd/htdocs/lib/error.php on line 43
ToyVoyagers Error ToyVoyagers has exited with an error


Function ereg_replace() is deprecated

Unknown Error [8192]:
The error was reported on line 2042 of /var/www/vip6/sites/vip0927926/httpd/htdocs/global.php

Code:
2040       function get_user_id_mbcode($u) {
2041         $usr     = stripslashes($u);
2042         $usr      = ereg_replace('&','&',$usr);
2043         $usr_qry = $this->db->fetch("SELECT user_id FROM {$this->pre}users WHERE user_name ='{$usr}' AND user_name != 'Guest'");
2044