How to call a String data from a table in database in a view of entirely different template folder


calling a sting data from a table(database) in a view file of an entirely different template. for example i want to call the Name of user(in users table(user controler)(user model) from another view file in and entirely different folder template. all in same app and database