묻고답하기

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

아래는 소스입니다..

<-- 시작 -->

<?
$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 남기남
윤희석 플래시MX로 메뉴를 만들고나서 문의점 [2] 2007.08.10
홍성국 팝업창에서 크기변화 어떻게 하는거죠??  
조사장 분할된 프레임으로 링크를걸려고하는데요... [1] 2007.08.10
Khal 그.. 수직으로 줄 긋는 거.. [6] 2007.08.10
박희정 최근게시물에 관해서요. [1] 2007.08.10
김민규 [PHP] each함수와 foreach구문에 대한 질문이요. [4] 2007.08.10
WEd™ 객체를 이용하여 파일 업로드 작업할때말이죠.. [1] 2007.08.10
안기성 db table 수정 관련.. [1] 2007.08.10
CityBoys-Life 제로보드에서의 "인기검색어"? [3] 2007.08.10
김성용 쇼핑몰.. [1] 2007.08.10
김준근 카운터 다는 법 [1] 2007.08.10
다라나 모질라에서 클립보드로 데이터 넣는 자바 스크립트가 있나요? [1] 2007.08.10
박희정 글의 위가 짤렸어요.  
enjoymina 플래쉬 메뉴가 해당 페이지를 인식하게하려면...  
강정수 가격대별 검색에 관한 질문  
최재갑 자바스크립트 질문... [4] 2007.08.10
김희경 아무나 못 열어보게~ [4] 2007.08.10
stonefree 음악링크에 관해 질문드려요. [1] 2007.08.10
구름 회원정보 관련 최근로그인 나타내기.. [1] 2007.08.10
☆*HaNuL*☆ php로 폼메일 만들때 서버쪽 조건? [1] 2007.08.10
제주도의향기 무료 홈피레이아웃에서요~ [1] 2007.08.10
뛰뛰빵빵''㉨'' 잇잖아요.. [3] 2007.08.10
조성미 서버에서 PHP를 지원 안한다네여... [2] 2007.08.10
Na:) 답변부탁드립니다. [2] 2007.08.10
mcmic 외부접속이 되지 않습니다. [2] 2007.08.10
제이 한 개의 서버에서 두개의 홈피 운영하는 방법이 궁금합니다. [1] 2007.08.10
dragon http://를 붙이지 않으면 인터넷페이지가 열리지 않아요.. [2] 2007.08.10
김정환 포토샾에서 글씨를 쓰려구하는데...  
Lucia 제가 포토샵 초짜라서 그런데요. [1] 2007.08.10
한상명 [포토샵] 글씨가 써지지 않습니다.