lundi 14 mars 2016

Get data from SQL Server 2005 database and display in html table using php?

I've searched over the net for solutions, but yet nothing worked. I have a database (SQL Server 2005). What i want to do is make a php file that connects to the database, get data (e.g SELECT LoginID, Password, IP FROM DBName) and display it in html table e.g:

<th>LoginID</th><th>Password</th><th>IP</th>

I have already installed xampp and sql server driver for php. Here's the phpinfo output:

enter image description here

Thanks.

Aucun commentaire:

Enregistrer un commentaire