please, could someone explain to me how could I from the folder webroot connect to the DB?
I have tried without success:
Or maybe I have another choice? So, what I am doing and why: I have a VIEW that is very slow because load a lot of data. What I did is: I created a horizontal menu and when you click at the button I use AJAX to load the needed info. The files used with AJAX are located in webroot’s folder.
Thank you for your attention and help,