½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > Áú¹®°ú´äº¯ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
javascript
php
ASP
css
mysql
html
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ Áú¹®°ú´äº¯ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 20 | Á¶È¸¼ö 1,470 | µî·ÏÀÏ 2000-12-26 19:03:29

´Ð³×ÀÓ

white

À̸ÞÀÏ

white@happycgi.com

Á¦¸ñ

[´äº¯] À̹ø¿£ MYSQL...
³»¿ë
¾È³çÇϽʴϱî? HappyCGIÆÀ¿¡ whiteÀÔ´Ï´Ù.

Âù¿µ´ÔÀÌ Áú¹®ÇϽŠ°Ë»ö Áß¿¡¼­ µÎÇ׸ñ ÀÌ»óÀ» ¸ðµÎ °Ë»öÇÏ´Â ¹æ¹ýÀº

$query°ªÀ» º¸³¾¶§ Ç׸ñÀ» üũÇϴ üũ¹Ú½º¸¦ ¸¸µå½Ã´Â °ÍÀÌ ÁÁÀ» µí Çϱº¿ä.

±×·¡¼­ üũ¹Ú½º¿¡ comment¿Í subject¿¡ üũ°¡ µÇ¾î ÀÖ´Ù¸é

$search="select * from Å×À̺í";

if ($comment or $subject){

if($comment == "on"){
$search .= "where";
$search .= " comment like
%$query%
";

}

if($subject == "on"){
$search .= " and subject like
%$query%
";
}
}

$search.=" order by id desc";



ÀÌ·± ½ÄÀ¸·Î ºÙ¿© ÁÖ½Ã¸é µË´Ï´Ù.

°¨»çÇÕ´Ï´Ù. ÁÁÀº ÇÏ·ç º¸³»¼¼¿ä.^^*


Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û perl ÀÌ cgi ¿Í °°Àº °Í ÀԴϱî?? 2000-12-26 18:07:40
´ÙÀ½°Ô½Ã±Û ±è¿µ¿± 2000-12-26 23:27:15