• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

calling ODBC stored procedure with PHP

Martin

Lifer
title says it all. I can't find anything on google and I am getting frustrated.

I am porting some code from ASP to PHP which calls a stored procedure. In ASP, they make a commad object, put in a SQL statement, add a parameter string, then execute.

I don't know how to do this in PHP. I tried the following

$q = "<sql from asp page>";
$res = odbc_prepare ($QuincyCon, $q);
$exc = odbc_execute($res, array("<parameter value from ASP page"));

but that doesn't work.

 
Back
Top