이미지 버튼으로 레코드를 업데이트하려고합니다. 여기 내 코드는 다음과 같습니다.이미지 제출 버튼
<?php
if(isset($_POST['unstar'])) {
echo "good!";
}
?>
<form action='' method='post'>
<input type='image' src='http://mysite.com/images/starIcon.png' name='unstar' id='unstar' />
</form>
이미지를 클릭하면 "좋음"으로 표시되지 않습니다. 내가 도대체 뭘 잘못하고있는 겁니까?
$ _post는 이름으로 생각하나요? – droidus