diff --git a/adm/poll_form.php b/adm/poll_form.php index 4f0d094fb..e4878c39c 100644 --- a/adm/poll_form.php +++ b/adm/poll_form.php @@ -11,7 +11,7 @@ if ($w == '') $html_title .= ' 생성'; else if ($w == 'u') { $html_title .= ' 수정'; - $sql = " select * from {$g4['poll_table']} where po_id = '$po_id' "; + $sql = " select * from {$g4['poll_table']} where po_id = '{$po_id}' "; $po = sql_fetch($sql); } else alert('w 값이 제대로 넘어오지 않았습니다.'); @@ -20,95 +20,83 @@ $g4['title'] = $html_title; include_once('./admin.head.php'); ?> -