Forum Moderators: coopster

Message Too Old, No Replies

php w/ MS SQL server?

anyone heard of the SqlCommand class?

         

kappaknight

6:19 am on Dec 25, 2006 (gmt 0)

10+ Year Member



I'm currently trying to merge php with my existing SQL Server data. As I'm chugging along, I'm finding that using stored procedures is a bit more complicated than using asp; but it's expected.

Anyway, I stumbled upon a class called SqlCommand and I tried to use it but I can't seem to access the class. I have PEAR installed, but I'm not sure if I'm missing something else.

Does anyone know what exact library I need to download to get this working?

I'm running php 5.2.+, whatever the newest version of PEAR is and the MDB2 package from PEAR.

[edited by: coopster at 2:56 pm (utc) on Dec. 25, 2006]
[edit reason] removed url [/edit]

henry0

1:48 pm on Dec 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I believe you are running an IIS
I am not familiar with it
However did you try to G for "sqlcommand"
it returns tons of tutorials.

kappaknight

4:26 pm on Dec 25, 2006 (gmt 0)

10+ Year Member



Yes, I am running it on an IIS system. I don't have a problem writing out the syntax of the commands, but my current setup doesn't recognize it as a class. BTW, most of the tutorials are for asp.net since the command is native to that platform.

I was just wondering if there is a particular dll I need to download to get it working since the link I posted above talks about it for php. I thought I downloaded all the necessary libraries but maybe I'm missing one. (ex. PEAR, DB, DB_DataObject, MDB2, MDB2_Driver_mssql)