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

본문 바로가기
 

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

페이지 정보

작성자 차동박 이름으로 검색 댓글 0건 조회 10,730회 작성일 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건 1 페이지
MySQL Tip 목록
번호 제목 글쓴이 조회 날짜
243 차동박 이름으로 검색 10296 08-04
242 이름으로 검색 10732 08-04
241 차동박 이름으로 검색 10666 08-06
240 이름으로 검색 8918 08-06
239 차동박 이름으로 검색 22096 08-07
238 이름으로 검색 15487 08-07
237 차동박 이름으로 검색 18242 08-07
236 이름으로 검색 15556 08-07
235 차동박 이름으로 검색 19059 08-07
234 이름으로 검색 14399 08-07
233 차동박 이름으로 검색 20985 08-07
232 이름으로 검색 14536 08-07
열람중 차동박 이름으로 검색 10731 08-07
230 이름으로 검색 8073 08-07
229 차동박 이름으로 검색 20989 08-07
228 이름으로 검색 15438 08-07
227 차동박 이름으로 검색 19980 08-07
226 이름으로 검색 14464 08-07
게시물 검색