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; Link to comment https://forums.phpfreaks.com/topic/249379-help-eregi/ 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/ Link to comment https://forums.phpfreaks.com/topic/249379-help-eregi/#findComment-1280457 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? Link to comment https://forums.phpfreaks.com/topic/249379-help-eregi/#findComment-1280459 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 .... Link to comment https://forums.phpfreaks.com/topic/249379-help-eregi/#findComment-1280461 Share on other sites More sharing options...
nolle Posted October 19, 2011 Author Share Posted October 19, 2011 I can not figure out. Link to comment https://forums.phpfreaks.com/topic/249379-help-eregi/#findComment-1280462 Share on other sites More sharing options...
AyKay47 Posted October 19, 2011 Share Posted October 19, 2011 use preg_match Link to comment https://forums.phpfreaks.com/topic/249379-help-eregi/#findComment-1280486 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? Link to comment https://forums.phpfreaks.com/topic/249379-help-eregi/#findComment-1281339 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.