Discuss anything related to web development but no technical support questions


Post by ecolores »

I'm starting a new project in Ext Gantt with php, but I have my database in sql server
Is there any way to connect php to sql server?


Thanks

Post by arcady »

This question is out of scope of this forum. https://www.google.ru/search?q=php+sqls ... on+example

If you ask me how to configure db connection in our php example then there is config.php file where you need to edit these lines:
define('DBUSERNAME', 'root');
define('DBUSERPASSWORD', 'password');
define('DSN', 'mysql:dbname=bryntum_gantt;host=localhost');
So you need to replace "mysql" with a proper driver name ("dblib" probably as I see in the search results).

Post Reply