• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it possible to connect to a SQL Server database?

#1
Hi everyone. I am starting with CI4 and I would like to know if there is any way to connect to a SQL Server database. Thank you all! Smile
Reply

#2
@alejandro99

Here is a link that may answer your question https://codeigniter4.github.io/userguide...ments.html .
Reply

#3
You can easily set up your database information in your .env file and easily use this function $db = db_connect();

Now variable db as been set to connect to database.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.