최근 게시물을 뿌리는 간단한 소스입니다. > MySQL Tip

본문 바로가기
 

최근 게시물을 뿌리는 간단한 소스입니다.

페이지 정보

작성자 차동박 이름으로 검색 댓글 0건 조회 10,733회 작성일 05-08-07 16:00

본문


<html>
                        <table cellSpacing="0" cellPadding="2" width="595" bgColor="#9999cc" id="table1">
                                <tr>
                                        <td align="middle" width="595" bgColor="black" colSpan="2" height="15">
                                        <font color="white"><b>최근 게시물을 뿌리는 간단한 소스입니다.</b></font>
                                        </td>
                                </tr>
                                <tr>
                                        <td width="595" bgColor="#eeeeee" colSpan="2" height="9"> </td>
                                </tr>
                                <tr>
                                        <td align="right" width="295" bgColor="#eeeeee">
                                        <p align="left"> 글쓴이 : 강동길</td>
                                        <td width="300" bgColor="#eeeeee">
                                        <p align="left"> 저작권자 이메일 : </td>
                                </tr>
                                <tr>
                                        <td align="right" width="295" bgColor="#eeeeee">
                                        <p align="left"> 출처 :
                                        <a target="_blank" href="http://www.koreaphp.co.kr/tip_board/koreaphp.co.kr">
                                        koreaphp.co.kr</a></td>
                                        <td width="300" bgColor="#eeeeee">
                                        <p align="left"> 작성일 : 2002/04/24 16:20:49</td>
                                </tr>
                                <tr>
                                        <td width="595" bgColor="#eeeeee" colSpan="3">
                                        <p align="right"> </td>
                                </tr>
                                <tr>
                                        <td width="595" bgColor="#eeeeee" colSpan="2">
                                        <p align="left"> 글내용<font color="#6600ff">  본 내용은 HTML 형식으로
                                        쓰여졌습니다. 소스를 보시려면
                                        <input class="button1" onclick="window.open('source_view.php?mode=html&cate=25&no=93','source','width=620,height=550,scrollbars=yes,toolbars=no')" type="button" value="Source View">
                                        버튼을 누르세요.</font></p>
                                        <!-- </td>
                        <td width='300' bgcolor='#EEEEEE' align='right'> -->
                                        </td>
                                </tr>
                                <tr>
                                        <td style="WORD-BREAK: break-all" vAlign="top" width="595" bgColor="white" colSpan="2" height="133">
                                        $que = "select * from 테이블 where 옵션 order by reg_date DESC
                                        limit 5"; <br>
                                        $result=mysql_query($que, $connect); <br>
                                        $total = mysql_affected_rows(); <br>
                                        <br>
                                        for($f = 0 ; $f < $total ; $f++){ <br>
                                        <br>
                                        mysql_data_seek($result,$f); <br>
                                        $infor = mysql_fetch_array($result); <br>
                                        <br>
                                        echo"<a target="_top" href="http://www.koreaphp.co.kr/tip_board/게시판.html?mode=display&num=$infor[0]">$infor[2]</a><br>
                                        <br>
                                        "; <br>
                                        <br>
                                        } <br>
                                        } </td>
                                </tr>
                        </table>

</html>
[이 게시물은 human님에 의해 2007-05-14 17:57:42 bulk2에서 복사 됨] [이 게시물은 human님에 의해 2007-05-15 09:09:28 bulk3에서 이동 됨]

댓글목록

등록된 댓글이 없습니다.

Total 243건 12 페이지
MySQL Tip 목록
번호 제목 글쓴이 조회 날짜
45 차동박 이름으로 검색 10812 08-24
44 차동박 이름으로 검색 10806 09-02
43 차동박 이름으로 검색 10774 12-19
42 차동박 이름으로 검색 10764 08-18
41 차동박 이름으로 검색 10757 08-07
40 차동박 이름으로 검색 10742 12-20
열람중 차동박 이름으로 검색 10734 08-07
38 이름으로 검색 10734 08-04
37 차동박 이름으로 검색 10725 08-02
36 차동박 이름으로 검색 10718 08-07
35 no_profile human 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10705 09-07
34 차동박 이름으로 검색 10667 08-06
33 차동박 이름으로 검색 10642 08-23
32 차동박 이름으로 검색 10604 12-14
31 차동박 이름으로 검색 10570 12-16
30 차동박 이름으로 검색 10523 08-07
29 차동박 이름으로 검색 10477 10-25
28 차동박 이름으로 검색 10469 09-13
게시물 검색