/ LJCPHPCodeDoc / LJCDBAccessLib / LJCConnectionValues / construct


Parameters
$dbServer - The DB Server name.
$dbName - The Database name.
$userID - The user name.
$password - The user Password.

Syntax

PHP
public function __construct(string $dbServer
, string $dbName, string $userID, string $password)

Initializes a class instance with the provided values.

Example

PHP
 $webCommonPath = "c:/inetpub/wwwroot/LJCPHPCommon";
 require_once "$webCommonPath/LJCDBAccessLib.php";
 
 $database = "DatabaseName";
 $userID = "UserID";
 $password = "Password":
 $connectionValues = new LJCConnectionValues("localhost", $database, $userID
   , $password);

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.