Parent Directory | Revision Log
mnogo toga
1 | dpavlin | 1.1 | <? |
2 | |||
3 | $sql="select titula,ime,note,tel,email,pozicija | ||
4 | dpavlin | 1.2 | from zaposleni where $visible_is_true |
5 | dpavlin | 1.3 | order by grupa,id |
6 | dpavlin | 1.1 | "; |
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 |