Calling SQL Server?? (MS SQL)

Discussion about the open-source Phalanger [?] project.

Calling SQL Server?? (MS SQL)

Postby vowelinteractive@codeplex » January 10th, 2007, 4:31 am

Okay - how do you call SQL server? I tried using the php function odbc_connect and I get "Call to undefined function".

Don't really care how I get to the db, just need something.

Thanks for your help!!
vowelinteractive@codeplex
 
Posts: 1
Joined: January 7th, 2012, 8:56 pm

RE: Calling SQL Server?? (MS SQL)

Postby tomasp » March 4th, 2007, 12:00 am

You need to add the following elements to the web.config file:

<phpNet>
<classLibrary>
<add assembly="PhpNetMsSql, Version=2.0.0.0, Culture=neutral, PublicKeyToken=2771987119c16a03" section="mssql" />
</classLibrary>
</phpNet>

After adding this you can use mssql_ functions.
tomasp
 
Posts: 46
Joined: January 7th, 2012, 8:37 pm


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 3 guests

cron

User Control Panel

Login

Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 511 on April 27th, 2024, 10:11 pm

Users browsing this forum: No registered users and 3 guests