|
|
|
|
ÀÓ±ÙÈ£ / 2001-09-12 / ¿ÀÀü 10:04:07 / 203.255.230.52
Á¶È¸¼ö : 131
|
[Áú¹®] ÁÖÀÎÀå´Ô ÀÌ°ÍÁ» »¡¸® ÇØ°áÁ» ÇØÁÖ¼¼¿ä!!!! ¿Ö ¾ÈµÇ´ÂÁö...µµ´ëü...¹¹¶¡½Ã.. |
<%
'===============================================================================
Dim SECTIONS, QUERYS, OPERATIONS
SearchWord = Request.form("SECTION")
Query = Request.form("Query")
Operation = Request.form("OPERATION")
SECTIONS = split(SearchWord, ",")
QUERYS = split(Query, ",")
OPERATIONS = split(Operation, ",")
Redim Preserve QUERYS(UBound(QUERYS))
'================================================================================
%> ÀÌ·±½ÄÀ¸·Î °ªµéÀÌ ³Ñ¾î¿Í¼ °¢ ¹è¿¾È¿¡ ÀúÀåµË´Ï´Ù.
½ÇÁ¦ ÇÏ·Á´Â°Å´Â SECTIONS¿¡´Â ¼±ÅÃµÈ SelectÀÇ ¹øÈ£°¡ µé¾îÀÖ±¸¿ä
Querys¿¡´Â °Ë»öÇÒ ¹®ÀÚµéÀÌ °¢°¢ ¹è¿¾È¿¡ ÀúÀåµÇ±¸¿ä!
OPERATIONS¿¡´Â °Ë»ö ¿¬»êÀÚ(and, or)µÑÁß Çϳª°¡ µé¾îÀÖ½À´Ï´Ù.
±×·¡¼ Querys¾È¿¡ °ªµéÀÌ µé¾î ÀÖÀ»°æ¿ì¿¡...
ÇØ´ç Sections ¹øÈ£Çϱ¸ operations°ªÀ» °¡Á®¿Ã·Á±¸ Çϴµ¥¿ä!
´ÙÀ½°ú °°ÀÌ ¹Ýº¹¹®À» »ç¿ëÇؼ ºñ±³¸¦ ÇÒ·Á´Âµ¥....ºñ±³°¡ ¾ÈµÇ³×¿ä!
óÀ½ ¹è¿¹æÀÇ 0¹ø°¸¸ ºñ±³°¡ µÇ±¸ ³ª¸ÓÁö´Â ºñ±³°¡ ¾ÈµÇ´Âµ¥¿ä....
<%
For inti=0 to UBOUND(SECTIONS)
If QUERYS(inti) <> "" Then
response.write SECTIONS(inti) & "=" & QUERYS(inti) &"<br>"
else
response.write "x"
End If
Next
%>
UBOUND(SECTIONS) : À̰ǹ°·Ð ¹è¿ÀÇ Å©±â¸¸Å¸¸ ¹Ýº¹Ç϶ó´Â °ÅÁÒ!! ^^
±×·¡¼ ¹®ÀÚ°ªÀÌ ÀÖÀ¸¸é ±×³É ¹øÈ£Çϱ¸ ÇØ´ç ¹®ÀÚ¸¦ Ãâ·ÂÇغ¸±¸...
¹®ÀÚ°¡ ¾øÀ» °æ¿ì ¿¬½À»ï¾Æ..x¸¦ Ãâ·ÂÇغ¼·Á±¸ Çϴµ¥....¾ÈµÇ³×¿ä!!!
»¡¸®Á» °¡¸£ÃÄ ÁÖ¼¼¿ä!
¾îÁ¦ ¾î´ÀºÐÀÌ REDIMÀ» ½á¼ Çغ¸¶ó±¸ Çؼ ¹è¿À» Àç¼³Á¤ Çؼ Çغôµ¥...¾ÈµÇ´õ¶ó±¸¿ä!!
»¡¸®Á» °¡¸£ÃÄ ÁÖ¼¼¿ä!! ¿À´Ã ±îÁö ÇØ°áÇؾߵǴÀµ¥....
|
|
|
|