php-tools/functions.php

10 regels
133 B
PHP

<?php
function selected($selected, $current) {
if ($selected === $current) {
return 'selected';
}
return '';
}