Connect PHP to Azure SQL Database

I need to make changes to my Azure SQL Database. I have a linux/PHP server and need to make changes from a web page.

I have tride... $conn = new PDO("sqlsrv:Server = $host: Database = $db", $user, $pwd);

I have tride... mysqli_real_connect($conn, $host, $username, $password, $db_name, 3306);

But nothing seems to work.

I just need help with the connection script, not the SQL.

Навыки: PHP, Linux, Управление базами данных, SQL-сервер Microsoft

Показать больше: dynamic link php sql database, connect login form sql database, world warcraft sql database php developers, connect to azure mysql database, azure phpmyadmin, call to undefined function sqlsrv_connect(), how to connect sql server with php 7, build a php and mysql web app in azure, php connect to sql server windows authentication, deploy php website to azure, php mssql connection, connect google map sql database, connect google maps sql database, connect php radio button database, registration form php connect form sql database, connect php form sql database, php email sql database, php java sql database, php interrogation sql database, connect excel workbook sql database

О работодателе:
( 4 отзыв(-а, -ов) ) Murrieta, United States

ID проекта: #26275608



Hi there, Did you start with basic troubleshooting such as getting feedback messages? Let's get it cracking!!

$20 USD за 1 день
(2 отзывов(-а))

2 фрилансеров(-а) готовы выполнить эту работу в среднем за $19


Hello, i'm php professional developer, with experience in Microsoft Azure services, i'll finish your proposal fast, for more details enter in contact.

$17 USD за 2 дней(-я)
(4 отзывов(-а))