pager is not working when print views I've created one view with used of php code for some fields in it, and set pager on it too. It's working fine whenever i created given link of view but actually I print that same view on another basic page, using this php code:

&lt;?php print views_embed_view($viewName); ?&gt;

on that basic page pager is not working, because on that page the pager link is generated with that basic page url link not with views url link. can anyone give solution when i print the same view on basic page and also pager can work over there perfect?

Thanks in advance :)
If you used Views PHP, this is a known issue 

Views Pager is hidden (7.x-2.x)

Pager disappears when Global: PHP used in Views 3.8

You have to apply one of the patches to fix it.