In PHP5 I used to bind Params like this:
mssql_bind($stmt,'@BIAC_MEMBER',$inMemberID,SQLVARCHAR); //Input
mssql_bind($stmt,'@BIAC_RESULT',$outResult,SQLVARCHAR,true); //Output
Since mssql_* got removed in PHP7 and you need to work with PDO now I changed my connection to this:
$stmt = $conn->prepare("CALL MyStoredProc(?, ?, ?, ?)");
According to the PHP doc you can bind using $stmt->bindParam(); but they have not mentionened if and how you can bind input aswell as output params.
Is it possible to specify multiple in-/output params, and if so, how?