The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MS SQL for User Spice?
#3
Hi Mudmin,

Thank you very much for the reply! I'm thinking of replacing the mysqli connection in userspice with the code below. Is there anything else I need to do in order not to break anything?

$serverName = "serverName\sqlexpress"; //serverName\instanceName

// Since UID and PWD are not specified in the $connectionInfo array,
// The connection will be attempted using Windows Authentication.
$connectionInfo = array( "Database"=>"dbName");
$conn = sqlsrv_connect( $serverName, $connectionInfo);


Thanks a lot!
Angel
  Reply


Messages In This Thread
MS SQL for User Spice? - by Angel - 08-24-2016, 07:41 PM
MS SQL for User Spice? - by mudmin - 08-29-2016, 12:54 AM
MS SQL for User Spice? - by Angel - 09-06-2016, 01:34 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)