1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| <?php
$dbh = new PDO("odbc:BDD_4513", "user", "defaut", array( PDO::ATTR_PERSISTENT => false));
foreach ($dbh->query("execute procedure SRVGetDispo(1,today+10,today+12,0,null);") as $row1) {
echo "$row1[1] : ";
echo "$row1[2] : ";
echo "$row1[10]<br>";
}
$dbh = null;
echo "<br><br><br>";
$dbh = new PDO("odbc:BDD_4713", "user", "defaut", array( PDO::ATTR_PERSISTENT => false));
foreach ($dbh->query("execute procedure SRVGetDispo(1,today+10,today+12,0,null);") as $row1) {
echo "$row1[1] : ";
echo "$row1[2] : ";
echo "$row1[10]<br>";
}
$dbh = null;
?> |
Partager