notice 오류 해결중

This commit is contained in:
gnuboard
2013-01-09 15:54:10 +09:00
parent ce23c317e2
commit c42445b92a
9 changed files with 24 additions and 51 deletions

View File

@ -1567,4 +1567,11 @@ function escape_trim($field)
{
return mysql_real_escape_string(htmlentities(trim($field)));
}
// $_POST 형식에서 checkbox 엘리먼트의 checked 속성에서 checked 가 되어 넘어 왔는지를 검사
function is_checked($field)
{
return !empty($_POST[$field]);
}
?>