Respuesta: llamar procedures de sql server en php y odbc .. <?php
include("../conexion/conexion_workflow.php");
if(isset($_POST["numrecibo"])){
$recibo=$_POST["numrecibo"];
}
$stmt= odbc_prepare($conexionw, 'CALL REINGRESARRECIBOSIREP('.$recibo.')');
$exito = odbc_execute($stmt, array());
if (!$exito) {
exit("<strong>ERROR EN EL PROCESO DE EJECUCION </strong>");
}else{
header("location:../../sitio/administrador/reingresarrecibo.php?msj=true");
}
?> |