[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

What is the best-practice way to use parameterized MSSQL queries in PHP?

Asked by labops in PHP and Databases, MS SQL Server, PHP Scripting Language

Tags: php, MSSQL, Windows server 2003, Zend PHP

Using:
PHP 5
windows Server 2003
Zend PHP

I can't tell what is the current practice.
I have been attempting to get PDO to work but can't find php_pdo_mssql.dll to download (it doesn't exist in extensions).
I installed some IBM_db2 solution which said it is for odbc, but i don't understand how to use it and can't find a tutorial.
Currently PDO returns a cannot find driver error for odbc, mssql

Does anybody have any advice on what I should focus on setting up, and can I see a string on how to connect to an external server and even do a query using it?
Thanks!
[+][-]11/06/09 02:45 PM, ID: 25763742Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/06/09 05:53 PM, ID: 25764613Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/06/09 05:55 PM, ID: 25764619Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/06/09 06:09 PM, ID: 25764672Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/06/09 06:22 PM, ID: 25764714Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/10/09 06:50 PM, ID: 25791974Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625