what is wrong in this code my pagination is not working

$ourcurrentpage = get_query_var(‘paged’); $wp_mainblog_query = new WP_Query(array(‘post_type’=>’post’,’posts_per_page’=>’3′,’paged’=>$ourcurrentpage)); echo paginate_links(array( ‘total’ => $wp_mainblog_query->max_num_pages , ‘prev_text’ => ‘<span class=”lnr lnr-arrow-left”></span>’, ‘next_text’ =>…