load view inside view in codeigniter -


actually m using ahref onclick function inside view

<a href="<? echo base_url();?>index.php/manager/engineer" onclick=window.open("<? echo base_url();?>index.php/manager/engineer") > 

it redirecting url correctly

http://localhost:8888/ci/index.php/manager/engineer 

but in page m getting error as

the page requested not found. 

even though have created engineers view file

anyone helping me find solution needfull

the ci router run external links of controller classes , can't load views externally. instead on can load views internally on controllers , open controller address via browsers. see more : http://ellislab.com/codeigniter/user-guide/general/views.html


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -