php-tools/functions.php

10 lines
133 B
PHP
Raw Normal View History

2012-05-23 15:18:49 +00:00
<?php
2013-07-25 21:55:56 +00:00
function selected($selected, $current) {
if ($selected === $current) {
return 'selected';
}
2012-05-23 15:18:49 +00:00
2013-07-25 21:55:56 +00:00
return '';
2012-05-23 15:18:49 +00:00
}