₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,286 members, 8,511,056 topics. Date: Saturday, 31 October 2026 at 05:22 PM

Toggle theme

Linking Php With Microsoft Sql Server - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › Linking Php With Microsoft Sql Server (1224 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 Excel • Meet Dare Obasanjo Who Works With Microsoft • Vb.net Code To Display Image In Picturebox From Sql Server • 2 • 3 • 4

Alert!!! Scammer On Nairaland • Help! With VPS Setup • Matlab And Visual Studio Expert Needed