Hi guys, I'm trying to create an application for an open recycle bin using php, and I want to link it to a SQL Server database, not a mysql database, and I got the following error: Call to undefined function DB\mssql_connect() , and I installed my configuration file, for example that:
<?php // HTTP define('HTTP_SERVER', 'http://localhost/restaurant/admin/'); define('HTTP_CATALOG', 'http://localhost/restaurant/'); // HTTPS define('HTTPS_SERVER', 'http://localhost/restaurant/admin/'); define('HTTPS_CATALOG', 'http://localhost/restaurant/'); // DIR define('DIR_APPLICATION', 'E:/my work/wamp/www/restaurant/admin/'); define('DIR_SYSTEM', 'E:/my work/wamp/www/restaurant/system/'); define('DIR_IMAGE', 'E:/my work/wamp/www/restaurant/image/'); define('DIR_LANGUAGE', 'E:/my work/wamp/www/restaurant/admin/language/'); define('DIR_TEMPLATE', 'E:/my work/wamp/www/restaurant/admin/view/template/'); define('DIR_CONFIG', 'E:/my work/wamp/www/restaurant/system/config/'); define('DIR_CACHE', 'E:/my work/wamp/www/restaurant/system/storage/cache/'); define('DIR_DOWNLOAD', 'E:/my work/wamp/www/restaurant/system/storage/download/'); define('DIR_LOGS', 'E:/my work/wamp/www/restaurant/system/storage/logs/'); define('DIR_MODIFICATION', 'E:/my work/wamp/www/restaurant/system/storage/modification/'); define('DIR_UPLOAD', 'E:/my work/wamp/www/restaurant/system/storage/upload/'); define('DIR_CATALOG', 'E:/my work/wamp/www/restaurant/catalog/'); // DB define('DB_DRIVER', 'mssql'); define('DB_HOSTNAME', 'localhost'); define('DB_USERNAME', 'root'); define('DB_PASSWORD', ''); define('DB_DATABASE', 'AndlusMarket'); define('DB_PORT', '1433'); define('DB_PREFIX', 'oc_');
I searched alot for a solution, but many said it was too complicated. Can anybody help me?
source share