sql server 2008 - MSSQL store procedure is executing twice in PHP PDO -


i have block of code getting executed twice when post hits payment gateway.any welcome on issue. have checked code there no 404 resuest script.

$stmt = $dbadapter->prepare('exec myprocedure  ?,?,?,?,?,?,?,?'); $stmt->bindparam(1,$id,  pdo::param_int); $stmt->bindparam(2,$transaction,  pdo::param_str); $stmt->bindparam(3,$person_id,  pdo::param_str); $stmt->bindparam(4,$amount); $stmt->bindparam(5,$orderid,  pdo::param_str); $stmt->bindparam(6,$bankclientid,  pdo::param_str); $stmt->bindparam(7,$transaction_time,  pdo::param_str); $stmt->bindparam(8,$status, pdo::param_int); $id = $stmt->execute(); 


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

visual studio 2010 - Connect to informix database windows form application -

android - Associate same looper with different threads -