₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,072 members, 8,420,164 topics. Date: Thursday, 04 June 2026 at 12:38 PM

Toggle theme

Linking Php With Microsoft Sql Server - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingLinking Php With Microsoft Sql Server (1195 Views)

1 Reply (Go Down)

Linking Php With Microsoft Sql Server by Nobody: 12:20am On Jul 11, 2008
Can anyone enlighten me on how this can be done? Thanks
Re: Linking Php With Microsoft Sql Server by ggyjane(m): 6:22pm On Dec 15, 2009
Hi, I am a java proffessional n will find it a pleasure teaching you how you can link ur application to ms sql server database, but not php.
Re: Linking Php With Microsoft Sql Server by joefazee(m): 8:37pm On Dec 15, 2009
Follow http://php.net/manual/en/book.mssql.php


<?php
// Server in the this format: <computer>\<instance name> or
// <server>,<port> when using a non default port number
$server = 'KALLESPC\SQLEXPRESS';

// Connect to MSSQL
$link = mssql_connect($server, 'sa', 'phpfi');

if (!$link) {
die('Something went wrong while connecting to MSSQL');
}
?>


You may check like to check out PHP Object Abstraction Layer for some Highy level usage and OOP stuff
Re: Linking Php With Microsoft Sql Server by dodo10: 11:01am On Dec 16, 2009
php can be used with mysql,and u need a web server on your system. for more information call 08035057766/poposhinshin@yahoomail.com
1 Reply

How To Design School Result Sheet Automated System With Microsoft ExcelMeet Dare Obasanjo Who Works With MicrosoftVb.net Code To Display Image In Picturebox From Sql Server234

Avast And Bitdefender AntivirusHow To Upload Profile Picture15 Top Youtube Channels To Learn How To Code Like Pro