Well I gave you lots of functions you could be using. Something I would suggest you is to leave external libraries and to use MSSQL functions for php (which I assume you are coding on), after that you can code your own libraries, classes and functions without needed external resources, so this will be a drag and drop application that can be used anywhere without having to configure lots of stuff, only the SQL credentials.
|