우편번호입력할때 주소 필드에 값이 안들어가집니다. 정보
우편번호입력할때 주소 필드에 값이 안들어가집니다.본문
<form name=fsearch_area>
<input type=text name='zip1' size=4 maxlength=3 readonly value='<?=$zip1?>'> -
<input type=text name='zip2' size=4 maxlength=3 readonly value='<?=$zip2?>'>
<img src="images/post_search_btn.gif" onclick="win_zip('fsearch_area', 'zip1', 'zip2', 'address1', 'address2');" style=cursor:hand></td>
<input type=text name='address1' size=60 readonly >
<input type=text name='zip2' size=4 maxlength=3 readonly value='<?=$zip2?>'>
<img src="images/post_search_btn.gif" onclick="win_zip('fsearch_area', 'zip1', 'zip2', 'address1', 'address2');" style=cursor:hand></td>
<input type=text name='address1' size=60 readonly >
<input type=text name='address2' size=60 readonly >
</form>
이렇게했는데 우편번호는 찍히는 데 address1이 찍히지 않네요. 머 잘못한게 있을까요?
Fatal error: Uncaught TypeError: mysqli_fetch_assoc(): Argument #1 ($result) must be of type mysqli_result, null given in /home/kagla/new-sir/old/lib/common.lib.php:2339 Stack trace: #0 /home/kagla/new-sir/old/lib/common.lib.php(2339): mysqli_fetch_assoc() #1 /home/kagla/new-sir/old/skin/board/v16/view.skin.php(795): sql_fetch_array() #2 /home/kagla/new-sir/old/bbs/view.php(403): include_once('...') #3 /home/kagla/new-sir/old/bbs/board.php(300): include_once('...') #4 {main} thrown in /home/kagla/new-sir/old/lib/common.lib.php on line 2339