PDA

View Full Version : Connection with SQL Server through PHP file



jopegon1
4 Jan 2011, 2:38 AM
Hi,

I am pretty new to JS and I'm having big troubles to understand how can I connect to my SQL Server 2005 database. From what I found in the forum past threads I need a PHP file to make a connection but I couldn't find detailed explanation to do so.

Anyone can give me a clue? B)

Thx in advance

fay
4 Jan 2011, 5:16 AM
That's really a server-side issue, and a quick google will show you how to do it: http://php.net/manual/en/book.mssql.php

jopegon1
4 Jan 2011, 5:43 AM
Thx.
I got a little misunderstood. I would like to know how to use the php file with JS.

evant
4 Jan 2011, 5:51 AM
You don't have to use PHP. If you're using SQL Server I would assume you're also using .NET:

http://www.sencha.com/forum/showthread.php?68161-Ext.Direct-.NET-Router