Select your language
My slogs
search & comment
 
Slog about connect.php
Share slog:
Comments
*Please enter your name
connect.php by
*Please enter your comment

*Please enter your email
*Please enter a valid email
Notify me on replies to 
connect.php by You
Now
connect.php by alberge
You can use the MS SQL extension (see the PHP manual below). I've never used it myself, so your mileage may vary.
July 2, 2009 | 8:20 am | Report abuse | Reply
connect.php by wummer
I know this answer doesn't seem very helpful, but to save yourself in the long run, please follow:
Answer: don't
Why: take the time to learn Django -> django makes is SOOO easy to create, handle and manipulate databases like mySQL. The tutorial below is only four pages long. Take a day and do it, you will not regret it. It is built in Python (also very easy and sexy language). After a single day of spending time on Django, you will never wanna go back to php again. And Google also uses python a lot, and hey, if you wanna look at database handling, then I guess we all can agree that Google know their sh...

http://docs.djangoproject.com/en/dev/int...
July 2, 2009 | 1:57 am | Report abuse | Reply
connect.php by ▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀
I have only done it from Linux, but it is probably easier with IIS.

Use phpInfo() to make sure you have MSSql Support.
<?
$MSDBConn = mssql_connect($IP_ADDR,$Username,$Passwd...
mssql_select_db($DB_Name);
$sql = "SELECT * FROM TABLE";
$res = mssql_query($sql);
while($row = mssql_fetch_object($res))
{
echo "$r->Column_Name";
}
?>

You can also create a system ODBC connection, then you just use the odbc functions, but you are better off using the mssql functions.
July 1, 2009 | 7:16 pm | Report abuse | Reply
connect.php by Friendly_lad
How do I connect PHP and IIS webserver to an MS SQL database?
July 1, 2009 | 1:43 pm | Report abuse | Reply


Popular slogs
Results
Semantic refine:  no match
Searching...

Español   |   English   |   Português   |   Русский   |   Contact us
All opinions expressed here belong to the authors and do not necessarily reflect the opinions of Slogbox.com

Wait
Add your comment
Thank you for helping us improve the quality of this site.
*Please enter your name
connect.php by
*Please enter your email
*Please enter a valid email
Notify me on replies to 
Reply

*Please enter your name
connect.php by
*Please enter your comment
*Please enter your email
*Please enter a valid email
Notify me on replies to