채택완료

출력되는 주소에 엔터를 칠 수 있나요?ㅠㅠ

2019-08-03 (토) 02:09:55 2,306
view.skin.php 파일입니다.

아래와 같이 주소를 표시되게 해놓았는데요..
주소가 길어서
"서울특별시 동작구 갈현동 123, 올림픽아파트 1203동 1405호"

이렇게 표시됩니다.

이것을 (엔터한번 치고,)


"서울특별시 동작구 갈현동 123
올림픽아파트 1203동 1405호"

이런식으로 표시되게 할 수 있는지요?ㅠㅠ

도와주세요.




<p align="left"><span style="background-color:rgb(255,255,204);">주소</span></font></p><?php echo $address; ?><br>&nbsp;</font></li>
|

답변 3개 / 댓글 1개

채택된 답변
+20 포인트
2019-08-03 (토) 11:57:58
<?php echo $address; ?>

해당 페이지 이전에 처리해야 합니다.

답변에 대한 댓글 1개

이전 모양은 ㅠㅠ

<li class="bo_w_ect">
<div class="wli_tit">주소</div>
<div class="wli_cnt">

<label for="ex_zip" class="sound_only">우편번호</label>
<input type="text" name="ex_zip" value="<?php echo $ex_zip; ?>" id="ex_zip" class="frm_input" size="6" maxlength="6" placeholder="주소 검색을 눌러주세요.">
<button type="button" class="btn_frmline" onclick="win_zip('fwrite', 'ex_zip', 'ex_addr1', 'ex_addr2', 'ex_addr3', 'ex_jibeon');">주소 검색</button><br>
<input type="text" name="ex_addr1" value="<?php echo $ex_addr1; ?>" id="ex_addr1" class="frm_input frm_address" size="50" readonly="readonly">
<label for="ex_addr1">기본주소</label><br>
<input type="text" name="ex_addr2" value="<?php echo $ex_addr2; ?>" id="ex_addr2" class="frm_input frm_address" size="50">
<label for="ex_addr2">상세주소</label>
<br><input type="text" name="ex_addr3" value="<?php echo $ex_addr3; ?>" id="ex_addr3" class="frm_input frm_address" size="50" readonly="readonly">

입니다.

도와주십시오 ㅠㅠ
2019-08-03 (토) 17:11:57

소스 전체를 올려주세요.

만약 곤란하시면 form 시작에서 끝에 까지라도 올려주셔야

중간에 get 이든 post 이든 일부 값을 받아올수 있습니다.

2019-08-03 (토) 03:16:34

무슨말인가요? css 부분인가요? br로 해서 처리해도될것같은데 아님 inline-block이나.. 

답변을 작성하려면 로그인이 필요합니다.