cancel
Showing results for 
Search instead for 
Did you mean: 

Adding php code to run sql queries...

Adding php code to run sql queries...

Sorry if this has been answered but I couldn't find a solution. I need to add pages to read and write to the database. I can create an area outside of Magento where users can do this but I need them to be logged in and use their customer ID in the query. I would prefer to do it all within Magento but it would also work if I could just let them login and pass the customer ID to php pages outside of Magento. I'm currently using 2.0.7.

 

Any help would be greatly appreciated.

 

Mike