Ajax crud class with medoo class connection
Ajax crud class with medoo class connection

You might like my implementation on your server side script for ajax data.
I am using Medoo for database connections in my application so used this.
I am using a database constant file for connections so I implemented this in my class as private variables.
I used a singleton pattern to use only one instance of the database connection.
Also I added json import to the database if column data is array (usfull for multiple select2 data)
See it here.
This discussion has been closed.
Replies
Fantastic - thanks for posting this up.
Allan