LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-25-2008, 02:18 AM   #1
leiw
Member
 
Registered: Apr 2006
Posts: 131

Rep: Reputation: 15
PHP connect to MSSQL question


Hello,

How to use PHP connect to MSSQL?
Could give me some information.


Thanks
 
Old 09-25-2008, 02:23 AM   #2
ghostdog74
Senior Member
 
Registered: Aug 2006
Posts: 2,697
Blog Entries: 5

Rep: Reputation: 244Reputation: 244Reputation: 244
have you looked at the manual? Its documented in the manual.
 
Old 09-28-2008, 09:34 AM   #3
Kalpak Palekar
LQ Newbie
 
Registered: Sep 2008
Posts: 2

Rep: Reputation: 0
Connect to MSSQL in PHP

Hi There,

See this is the syntax to connect MS SQL in PHP.
Syntax : resource mssql_connect ([ string $servername [, string $username [, string $password [, bool $new_link ]]]] )

mssql_connect() establishes a connection to a MS SQL server. The servername argument has to be a valid servername that is defined in the 'interfaces' file.

Have a good Day!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to connect to mssql using c program raiux Programming 1 04-10-2008 04:21 AM
PHP + unixODBC + MSSQL Question ckoniecny Linux - General 0 02-15-2007 08:43 AM
How can i connect mssql server from linux apache sachitanandpandey Linux - Software 1 10-25-2006 06:04 PM
Php + Mssql + Ldap lewus Linux - Software 4 01-27-2005 02:48 AM
PHP and MSSQL BBPS Linux - Software 2 10-10-2003 10:36 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration