-- Simple html checks for use on form elements.
Published under the terms of the BSD License
<?php
function selected($is, $shouldbe) {
if ($is == $shouldbe) {
return " SELECTED";
}
}
function checked($checked) {
if ($checked=='yes') {
return " CHECKED";
}
}
?>
Last updated: Sat Jun 14 20:02:44 CEST 2008