init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
27
scripts/test.php
Normal file
27
scripts/test.php
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
error_reporting(E_ALL); ini_set('display_errors',1);
|
||||
|
||||
$monat=4;
|
||||
$jahr=2022;
|
||||
|
||||
|
||||
$datenlist = $GLOBALS['mysql']->query("SELECT * FROM feiertage WHERE monat='".$monat."' AND jahr='".$jahr."' ORDER BY tag");
|
||||
|
||||
|
||||
|
||||
$menge = $datenlist->num_rows;
|
||||
if ($datenlist->num_rows!=0) {
|
||||
while($row = $datenlist->fetch_assoc()) {
|
||||
$testdata[] = $row['tag'];
|
||||
}
|
||||
}
|
||||
|
||||
if(in_array('18',$testdata)) {
|
||||
echo "der 15 ist ein Feiertag";
|
||||
}
|
||||
|
||||
|
||||
//echo "<pre>"; print_r($testdata); echo "</pre>";
|
||||
|
||||
break;
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue