How to Connect PHP with SQL Server 2019 With Sample Code and Query

preview_player
Показать описание
In this video I am going to show you how to connect PHP with SQL Server 2019 with PHP code to connect and perform a simple insert query.

Download PHP Drivers:

Timestamps:
00:04 Demo
00:40 Before Set Up
02:17 Downloading PHP Drivers
03:00 Selecting Appropriate Driver
04:34 Move Drivers to Ext Folder
06:12 Connect to SQL Server
06:39 Inserting data to SQL Server Database
Рекомендации по теме
Комментарии
Автор

This is the first video, I'm ever commenting on. And trust me, I've whatched lots of videos on Youtube but this is the one, which helped me most. Thanks.

jonaseschgfaller
Автор

Great video, not sure why everything is so difficult to MSSQL server though. We can talk about MySQL all we want but the worlds' economy runs on MSSQL Server or Oracle (pretty much).

pnruk
Автор

It is really very helpful. Looking forward to see new videos👏👍

ebse
Автор

hello bro thanks for the video, whats the name of the icons of the default folders that u have

hoholebaguette
Автор

Thank you very much
Please how to upload to hosting
And the way to upload dll add-ons
I am an Arab translating the speech and sent you a comment

amgdhemyar
Автор

Excellent video, can I do this from a php webpage hosting and accessing the remote machine with sql-server database ?

jlclavijocanada
Автор

How did you run the script from the text editor? I am using sublime text editor

rufusvankpanah
Автор

Well you got the driver but I had to install the ODBC driver also 😂

fellipedemoraes
Автор

versão do meu PHP é 8.2 não tem em downloads, como proceder?

tecnobet.
Автор

how to fetch sql server date into live php server using system IP address and port number? is it possible?

GunavarthiniKathiresan
Автор

Fatal error: Uncaught Error: Call to undefined function sqlsrv_connect() in Stack trace: #0 {main} thrown in on line 9

JohnRobertLim
Автор

[Microsoft][ODBC Driver 18 for SQL Server]Client unable to establish connection ) )

bn_castillo
Автор

why is it that I have this error?

Array ( [0] => Array ( [0] => 08001 [SQLSTATE] => 08001 [1] => -2146893019 [code] => -2146893019 [2] => [Microsoft][ODBC Driver 18 for SQL Server]SSL Provider: The certificate chain was issued by an authority that is not trusted. [message] => [Microsoft][ODBC Driver 18 for SQL Server]SSL Provider: The certificate chain was issued by an authority that is not trusted. ) [1] => Array ( [0] => 08001 [SQLSTATE] => 08001 [1] => -2146893019 [code] => -2146893019 [2] => [Microsoft][ODBC Driver 18 for SQL Server]Client unable to establish connection [message] => [Microsoft][ODBC Driver 18 for SQL Server]Client unable to establish connection ) )

keanuacayayannatividad
Автор

This is the first video, I'm ever commenting on. And trust me, I've whatched lots of videos on Youtube but this is the one, which helped me most. Thanks.

VivekSharma-zqum