r00ry      2002/01/04 18:08:33     11800     0   
   ÃֱٰԽù° ÃßÃâ... [8]
ÃÖ±Ù °Ô½Ã¹° ÃßÃâ... (Á¦ ȨÇÇ¿¡ Àû¿ëÇÑ ÃßÃâ¹°ÀÔ´Ï´Ù.)

¹°·Ð Á¦·Îº¸µåȨÆäÀÌÁö¿¡¼­ Æۿ°ÍÀ̱¸¿ä....
<?
mysql_connect("localhost","DBID","DBPWD");
//DBID = sql ID, DBPWD= sql password
mysql_select_db("DBNAME");
//DBNAME=sql ¸í
$result=mysql_query("select * from boardname order by no desc limit NO") or die(mysql_error());  
//boardname= °Ô½ÃÆÇ ¸í , NO = »Ì¾Æ³¾ °Ô½Ã¹° ¼ýÀÚ (¿¹: 5)
while($data=mysql_fetch_array($result))
{
$memo=stripslashes($data[memo]);
$data[subject] = stripslashes($data[subject]);
$max = NO;
//NO = °Ô½Ã¹° ÃßÃâ½Ã ÃÖ´ëÃâ·ÂµÇ´Â Á¦¸ñ ¼ýÀÚ (¿¹ : 30)
$count = strlen($data[subject]);
if($count >= $max) {
for ($pos=$max;$pos>0 && ord($new[subject][$pos-1])>=127;$pos--);
if (($max-$pos)%2 == 0)
$data[subject] = substr($data[subject], 0, $max) . "..";
else
$data[subject] = substr($data[subject], 0, $max+1) . "..";
}
else {
$data[subject] = "$data[subject]";
}
echo " <style type=\"text/css\">
a { font: 9pt ±¼¸²; text-decoration: none; color: black ; }
a:hover { text-decoration: underline; color: black ; }
</style>
<table cellpadding=\"0\" cellspacing=\"0\">
    <tr>
        <td width=\"240\" onMouseOver=this.style.backgroundColor='ECF9FF' onMouseOut=this.style.backgroundColor=''>
            <font size=2 color=black>[".date("m-d",$data[reg_date])."] <a href='URL/view.php?id=boardname&no=$data[no]')>".stripslashes($data[subject])."</a></font>
// URL = ÇØ´ç url , boardname= °Ô½ÃÆÇ ¸í
        </td>
    </tr>
</table>";
}
mysql_close();
?>


¿©±â ±îÁö ÀÔ´Ï´Ù.   // ~~  ´Â ¼³¸íÇϱâÀ§ÇÑ ÇàÀÔ´Ï´Ù... (»èÁ¦Çϼ¼¿ä)
   
ÄÚ¸àÆ®¸¦ ÀÛ¼ºÇϽøé 2 Æ÷ÀÎÆ®°¡ Áö±ÞµË´Ï´Ù.
r00ry


2002/01/04 18:09:52
[³¯Â¥, °Ô½ÃÆÇ Á¦¸ñÃâ·Â] ÃßÃâ¹°ÀÔ´Ï´Ù.

¡ÙORC¡Ù


2002/01/04 18:30:15
phpÃ¥ »ç¼­ ºÁ¾ß¡~~ ¤Ñ¤Ñ;;

¡ÙORC¡Ù


2002/01/04 18:30:23
¾î·Æ³ß...




2002/01/21 17:32:40
ÀÌ°Ç ¾îµð¿¡´Ù ³Ö´Â°Ç°¡¿©?

ºê¶óÀ̾ð´ëÀ§21C


2002/01/27 02:19:37
ÀÌ°ÍÀ» ¼öÁ¤Çؼ­ html¹®¼­ÀÚü¿¡ ¼Ò½º¸¦ ³Ö´Â°Ç°¡¿©

r00ry


2002/02/01 23:57:42
html ÆÄÀÏ Ã·°¡Çؼ­ htm ÆÄÀÏÀ̳ª php ÆÄÀÏ·Î ¸¸µå½Ã¸é..... ^^ ±×·¡µÎ ¾ÈµÇ¸é...ÂÊÁöÁÖ¼¼¿ä

Lusian


2003/02/17 14:34:59
mysql_connect("localhost","DBID","DBPWD") ¿¡¼­ ·ÎÄÃÈ£½ºÆ® ºÎºÐÀº ³öµÎ´Â°Ç°¡¿ä? ¾Æ´Ï¸é ·ÎÄÃÈ£½ºÆ®¸¦ ÀÔ·ÂÇؾßÇϳª¿ä?


Lusian


2003/02/27 18:13:04
Àú°Í ±×·¸´Ù Ãĵµ ¸¸¾à ÃֱٰԽù° ÆÄÀÏÀ» ¸¸µç´Ù¸é ÃֱٰԽù° ¸¸µé½Ã¿¡ ±âÁ¸ÀÇ z_list.php ÆÄÀÏÀÌ ÀÖ´Ù¸é ±×°ÍÀ» »èÁ¦ÇÏ°í ´Ù½Ã z_list.php¸¦ »õ·Ó°Ô ¸¸µé¾ú´Ù°í ÇսôÙ. ±×·±µ¥ Ãâ·Â½Ã¿¡´Â ¾î¶² ű׸¦ ½á¾ß ³ªÅ³¾¾¥ÀÕÁÒ? ÃֱٰԽù° ÇüÅÂÀÇ ¼Ò½º´Â ÁÖ¾îÁ³Áö¸¸
ÃֱٰԽù°·Î ³ªÅ¸³¾ Ãâ·Â ¼Ò½º¸¦ ¸ô¶ó °í»ýÁß~


       

39 ·£´ý ¹è°æÀ½¾Ç ±ò±â...^^;; [1] 01/23 11058 01/23(20:30)
38 Á¦·Îº¸µå ÂÊÁö¿ÔÀ»¶§ ÂÊÁö ÀÚµ¿À¸·Î ¶Ù¿ì±â.. animillion 01/22 11132
37 ÆÄÀÏ°æ·Î ¼û±â±â & ¸µÅ©¹æÁö.(dookikora.wo.to ¿¡... [1] UltraViolent 01/20 13006 01/20(19:51)
36 ÀÚ½ÅÀÇ MSN»óÅÂICQ»óŸ¦ ȨÆäÀÌÁö¿¡¼­ º¸¿©ÁÖÀÚ... [2] öÇÑ 01/19 14970 01/19(20:38)
35 À¥Á¤Ã¼ °Ô½ÃÆÇ¿¡ Àû¿ëÇϱâ... 01/17 12832
34 [re] URL¶õ,Áñ°Üã±â¿¡ ³×À̹öó·³ ±×¸² ³Ö±â...... 01/14 11041
33 < À¥µðÀÚÀ̳ʷΠ¼ºÀåÇϱâ À§ÇÑ ¸î°¡Áö Á¶¾ðµé... [3] with 01/12 11873 02/04(10:48)
32 ȨÆäÀÌÁö ¿À¸¥ÂÊ ¸¶¿ì½º »ç¿ë±ÝÁö..¼Ò½º r00ry 01/12 13094
31 Áú¹®!!! [re] Á¦·Îº¸µå °øÁö»çÇ×(°Ô½Ã¹° ÃßÃâ) Ãâ... [1] ±è Áø¿À 01/10 11045 01/10(11:47)
30 URL¶õ,Áñ°Üã±â¿¡ ³×À̹öó·³ ±×¸² ³Ö±â... Çʵ¶... [9] ¡ÙORC¡Ù 01/05 11680 01/14(22:54)
>> ÃֱٰԽù° ÃßÃâ... [8] r00ry 01/04 11800 02/27(18:13)
28 ¼¼·ÃÇØ º¸ÀÌ´Â ±ÛÀÚ »ö º¯ÇÏ´Â ÀÌ»Û È¿°ú +_+ [2] ¡ÙORC¡Ù 01/01 11092 01/02(15:54)
27 ¸î½Ã ¸îºÐ¿¡ ±ÛÀ» ½èÁö¿ä? [1] Â¥¾Æ¾ÓèØ 12/29 10976 12/29(17:35)
26 ŸÀÚ Ä¡´Â È¿°ú ÅؽºÆ®. ¡ÙORC¡Ù 12/29 11091
25 ((ȨÆäÀÌÁö))¹è°æ È­¸éÀ» °íÁ¤½ÃÅ°Àð +_+ [4] ¡ÙORC¡Ù 12/28 13042 12/29(14:41)
FIRST915161718192021LAST