init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
22
scripts/test0815.php
Normal file
22
scripts/test0815.php
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
error_reporting(E_ALL); ini_set('display_errors',1);
|
||||
|
||||
$key=0;
|
||||
$temp = $GLOBALS['mysql']->query("SELECT * FROM mitarbeiter WHERE aktiv>0 ORDER BY name");
|
||||
while($row = $temp->fetch_assoc()) {
|
||||
$tempma[$key]['id'] = $row['id'];
|
||||
$tempma[$key]['name'] = $row['name'];
|
||||
$tempma[$key]['typ'] = $row['typ'];
|
||||
$key++;
|
||||
}
|
||||
|
||||
$template->assign('tempma', $tempma);
|
||||
$template->assign('content', 'tpl/test0815.tpl');
|
||||
|
||||
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue