묻고답하기

안녕하세요....초보자입니다..^^
최근로그인을 나타내려고 하는데 팁을 찾아봐도 없는것 같아서 대충 만들어보았는데
가로가 아니 세로로 출력이 되네요...가로로 나타내는 방법을 아려주시면 감사하겠습니다.

아래는 소스입니다..

<-- 시작 -->

<?
$conn=mysql_connect("localhost", "id", "pw");
mysql_select_db("dbname", $conn);

$_zb_url = "제로보드 경로";

$c_result = mysql_query( "select * from zetyx_member_table", $conn );
$result=mysql_query("select * from zetyx_member_table where group_no=1 order by lastlogin desc limit 10",$conn);    
$data=mysql_fetch_array(mysql_query("select * from zetyx_member_table where group_no=1 order by lastlogin desc limit 10", $conn));








// 화면에 출력
echo"

  ";

while($data=mysql_fetch_array($result))
{
if($data[picture]!="") {
$picture="<img src='$_zb_url/$data[picture]' width=120 height=80>";
}
else
{$picture="<img src='http://greentokai.net/zboard/mlist_image/noimage.gif' width=120>";
}
$user_id=stripslashes($data[user_id]);
$data[user_id] = stripslashes($data[user_id]);
$data[name] = stripslashes($data[name]);
$data[job] = stripslashes($data[job]);
$data[email] = stripslashes($data[email]);
$data[homepage] = stripslashes($data[homepage]);
$data[birth] = stripslashes($data[birth]);
$data[hobby] = stripslashes($data[hobby]);
$data[icq] = stripslashes($data[icq]);
$data[msn] = stripslashes($data[msn]);
$data[home_address] = stripslashes($data[home_address]);
$data[home_tel] = stripslashes($data[home_tel]);
$data[office_address] = stripslashes($data[office_address]);
$data[office_tel] = stripslashes($data[office_tel]);
$data[handphone] = stripslashes($data[handphone]);
$data[comment] = stripslashes($data[comment]);
if($data[lastlogin] != "")
                $data[lastlogin] = date("Y-m-d H:i:s a",stripslashes($data[lastlogin]));
        else
                $data[lastlogin] = "기록 없음";
$temp = mysql_query("select * from avatar_member_table where user_id = '$data[user_id]'");
while($data1 = mysql_fetch_array($temp)) {
$avatar_display = "
<DIV style=' width:120; height:160; overflow:hidden;border:0'>
<DIV ID=Layer51 STYLE='position:absolute; left:0; top:0; z-index:1'><img id=ImgChar1 src=$_zb_url/charimg/$data1[ava1] border=0></DIV>
<DIV ID=Layer52 STYLE='position:absolute; left:0; top:0; z-index:3'><img id=ImgChar2 src=$_zb_url/charimg/$data1[ava2] border=0></DIV>
<DIV ID=Layer53 STYLE='position:absolute; left:0; top:0; z-index:2'><img id=ImgChar3 src=$_zb_url/charimg/$data1[ava3] border=0></DIV>
<DIV ID=Layer54 STYLE='position:absolute; left:0; top:0; z-index:5'><img id=ImgChar4 src=$_zb_url/charimg/$data1[ava4] border=0></DIV>
<DIV ID=Layer55 STYLE='position:absolute; left:0; top:0; z-index:4'><img id=ImgChar5 src=$_zb_url/charimg/$data1[ava5] border=0></DIV>
<DIV ID=Layer56 STYLE='position:absolute; left:0; top:0; z-index:6'><img id=ImgChar6 src=$_zb_url/charimg/$data1[ava6] border=0></DIV>
<DIV ID=Layer57 STYLE='position:absolute; left:0; top:0; z-index:7'><img id=ImgChar7 src=$_zb_url/charimg/$data1[ava7] border=0></DIV>
<DIV ID=Layer58 STYLE='position:absolute; left:0; top:0; z-index:8'><img id=ImgChar8 src=$_zb_url/charimg/$data1[ava8] border=0></DIV>
<DIV ID=Layer59 STYLE='position:absolute; left:0; top:0; z-index:0'><img id=ImgChar9 src=$_zb_url/charimg/$data1[ava9] border=0></DIV>
<DIV ID=Layer60 STYLE='position:absolute; left:0; top:0; z-index:10'><img id=ImgChar10 src=$_zb_url/charimg/img_blank.gif border=0 width=120 heigh=160></DIV>
</DIV>
";
}  


echo "

<table border=1 width=301>
    <tr>
        <td width=291 height=50>
            <table border=1 width=293>
                <tr>
                    <td width=283 height=129>
                        <p>$avatar_display<br>$data[user_id]<br>$data[lastlogin]</p>
                    </td>

                </tr>
            </table>
        </td>
    </tr>
</table>



";



}

mysql_close($conn);
?>

<----끝 ---->

미리보기 : http://greentokai.net/test3/test1.php
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
┓┣ㅂ┃ window media tool 궁금.....  
★ⓑⓞⓝⓞ★ 창을 최소화해도 배경음악이 안끊기게 하려면 어떻게 해야 하나요? [1] 2007.08.10
susiah [그림포함;;]노프레임페이지 구성에 대해서 질문입니닷....-.- [2] 2007.08.10
ppond03 이거 아시는분 없나요?? [1] 2007.08.10
이호한 [re] [재질문]웹페이지 내용 긁어오는것..  
N.com [재질문]웹페이지 내용 긁어오는것..  
물냉면 다른이름으로 저장할때요..  
vaevtictis [초보질문] 라디오 버튼 관련 -_-;; [5] 2007.08.10
죽비 mysql문제입니다..  
하얀별 제로보드홈에서 노프레임을 쉽게 설명해놓은곳 링크좀 걸어주세요.. [2] 2007.08.10
나잉쿠 윈2000 APM 설치하고 다른 곳에서 접속가능하게 할려면... [2] 2007.08.10
김승필 안녕하세여..  
FoA 샷 보시구 왜 이런 오류가 나는지 알려 주세요 -_- [4] file 2007.08.10
후르츠 크롬리스 관련 질문  
김희순 북마크 이용시 링크된곳 누르면 에러가 떠요[이미지 있어용..]  
안진성 페이지를 읽으면 바로 새로고침 효과를 내고싶습니다.. [1] 2007.08.10
taeho [플래시] mask에 관해 질문을 드릴께요  
민범식 [질문]플래쉬에서 익스플로 새로 고침하는 액션아시는분?  
노경민 노프레임인데 스크립트로 만든 메뉴가 안나와요ㅠ.- [3] 2007.08.10
DearMai MSSQL 서버에서 데이터 백업 and 복구 방법 [1] 2007.08.10