Why does preg_replace_callback never fire in this function?

Your function needs to return the data, not echo it..

function doReplace($matches) {
    return "This is the doReplace";
}

Hope that helps..

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)