Ok, figured it out. The trick isn't to connect to db outside of the includes...the key is getting js to post directly to the php file when it is in the includes. There is some override for the includes folder that doesnt allow files in includes to be accessed directly unless you work around it. If someone knows off the top of their head where the override is or can explain how it works, please share.


Reply With Quote
