211.111.3.25 2004/02/10 10:48:20
|
|
À§ ±¸¹®Áß mysql_query °¡ À߸øµÇ¾îÀÖ´Â°Í °°½À´Ï´Ù¸¸.. ^^;
À§ Äõ¸®¿¡¼ ¾î¶²°ÍÀ» select ÇϽŴٴ ¸»¾¸À̽ÅÁö¿ä?
select ¹®Àº ´ÙÀ½°ú °°Àº Çü½ÄÀ¸·Î ÀÌ·ç¾îÁý´Ï´Ù.
select Ä÷³ from Å×À̺í¸í where Á¶°Ç¹®
¿¹) test ¶õ Å×ÀÌºí¿¡¼ passwd ¶õ Ä÷³ÀÇ °ªÀÌ password('$password') ÀÎ ¿ÀÇ name À̶õ Ä÷³ÀÇ µ¥ÀÌÅ͸¦ ºÒ·¯¿Â´Ù.
> select name from test where passwd=password('$password')
°¨»çÇÕ´Ï´Ù.
|