Ver Mensaje Individual
  #12 (permalink)  
Antiguo 07/03/2012, 15:12
Avatar de a_gomez
a_gomez
 
Fecha de Ingreso: marzo-2012
Ubicación: /var/www/
Mensajes: 48
Antigüedad: 12 años, 1 mes
Puntos: 2
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");

}

?>