nolle Posted October 19, 2011 Share Posted October 19, 2011 Please, I need help Error: Deprecated: Function eregi Code: if ( eregi( 'index.php\?', $row->link ) ) { if ( !eregi( 'Itemid=', $row->link ) ) { $row->link .= '&Itemid='. $row->id; Quote Link to comment Share on other sites More sharing options...
criostage Posted October 19, 2011 Share Posted October 19, 2011 http://php.net/manual/en/function.ereg.php This function is obsolete and should not be used as the php site say you might find this page usefull -> http://devthought.com/2009/06/09/fix-ereg-is-deprecated-errors-in-php-53/ Quote Link to comment Share on other sites More sharing options...
nolle Posted October 19, 2011 Author Share Posted October 19, 2011 Can someone edit my code to work? Quote Link to comment Share on other sites More sharing options...
criostage Posted October 19, 2011 Share Posted October 19, 2011 Can someone edit my code to work? The page i gave you contain's examples on what you need to change please figure out your self .... Quote Link to comment Share on other sites More sharing options...
nolle Posted October 19, 2011 Author Share Posted October 19, 2011 I can not figure out. Quote Link to comment Share on other sites More sharing options...
AyKay47 Posted October 19, 2011 Share Posted October 19, 2011 use preg_match Quote Link to comment Share on other sites More sharing options...
nolle Posted October 22, 2011 Author Share Posted October 22, 2011 Can someone write me the right code? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.