/[informatika.old]/html/inc/print_bool.inc
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /html/inc/print_bool.inc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Thu Jun 1 09:30:42 2000 UTC (23 years, 10 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Branch point for: dbi
nove funcije za prikaz boolean varijabli iz baze

1 <?
2 function print_bool($val) {
3 if ($val == 't') {
4 return "da";
5 } elseif ($val == 'f') {
6 return "ne";
7 } else {
8 return "nepoznato";
9 }
10 }
11 ?>

  ViewVC Help
Powered by ViewVC 1.1.26