Adding nofollow to a PHP generated Nav

A simple str_replace would do the trick:

$links = paginate_links( $arguments );
$links = str_replace( 'href="', 'rel="nofollow" href="', $links );

echo $links;

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