Hi,
How can I call stored procedure (SQL Database) and pass value in PhpMaker from custom button or in another way?
Now, my code is this:
$OrderID = $_GET['OrderId'];
$CustomerCode = $_GET['CustomerCode'];
$params = array(
array($OrderID, SQLSRV_PARAM_IN),
array($CustomerCode, SQLSRV_PARAM_IN)
);
$SQL = "{CALL My_Insert(?,?)}";
but not works.
Thank you,
Andrea