Parent Directory | Revision Log
zaposleni
1 | dpavlin | 1.1 | <? |
2 | |||
3 | $sql="select titula,ime,note,tel,email,pozicija | ||
4 | from zaposleni where visible is true | ||
5 | order by id | ||
6 | "; | ||
7 | # print "$sql"; | ||
8 | $sth = $dbh->prepare("$sql"); | ||
9 | $sth->execute(); | ||
10 | |||
11 | while ($row=$sth->fetchrow_hash()) { | ||
12 | $data[]=$row; | ||
13 | } | ||
14 | |||
15 | $smarty->assign( "data", $data ); | ||
16 | $main=$smarty->fetch("zaposleni.tpl"); | ||
17 | |||
18 | ?> |
ViewVC Help | |
Powered by ViewVC 1.1.26 |