Skip to content

MSSQL DATABASE CONNECTION WITH PHP

Please i am trying to connect to an mssql database on a different machine. Below is my code but i just keep getting a blank page. I dont know what the issue may be. i have installed php and the mssql drivers. Answer I would suggest that you display the connection error using sqlsrv_errors(). Load the PHP driv…

Laravel: How to access config/Mail variables

I need to get address and name variables on my Mail.php config: ‘from’ => [‘address’ => env(‘MAIL_USERNAME’), ‘name’ => env(‘MAIL_NAME’)], I tried this: Config::get(‘mail.from.*.name’); …