1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
$collGap = ocinewcollection($dbConnexion,'ARRAY_STR');
$collBase = ocinewcollection($dbConnexion,'ARRAY_STR');
$collProfil = ocinewcollection($dbConnexion,'ARRAY_STR');
foreach($_POST['choixProfil'] as $ligneProf)
{
$collGap->append($ligneProf[0]);
$collBase->append($ligneProff[1]);
$collProfil->append($ligneProf[2]);
}
$stmt=OCIParse($dbConnexion,"begin PS_GROUPE_PROG_PROFIL(:gapTab,:baseTab,:profilTab);end;");
ocibindbyname($stmt,':gapTab',$collGap,-1,OCI8_B_SQLT_NTY);
ocibindbyname($stmt,':baseTab',$collBase,-1,OCI8_B_SQLT_NTY);
ocibindbyname($stmt,':profilTab',$collProfil,-1,OCI8_B_SQLT_NTY); |
Partager