[Solved]A newbie question: changing eregi() to preg_match()?
Posted: Mon Jun 07, 2010 7:55 am
Please help me with changing eregi() to preg_match().
Here is the code I need to change:
Any help will be appreciated!
Here is the code I need to change:
Code: Select all
if ( eregi( 'index.php\?', $row->link ) ) {
if ( !eregi( 'Itemid=', $row->link ) ) {
$row->link .= '&Itemid='. $row->id;
}
}
break;