This topic is locked

Commands out of sync; you can't run this command now

2/17/2016 10:57:24 AM
PHPRunner General questions
M
mohini.jadhav author

When I call stored procedure with out parameter on server tab of insert button functionality. Can Anybody help me in that.
My code is :
CustomQuery("CALL storeprocedure('" . $params["field1"] . "', '" . $params["field2"] . "', @Details );");

$rs = CustomQuery("SELECT @Details as _p_out;");
$row = mysqli_fetch_assoc($rs);

echo $row['_p_out'];
When I hit this on browser I am getting the above error. Can anyone please help me in this. Due to this I am stuck in my work.