ํ‹ฐ์Šคํ† ๋ฆฌ ๋ทฐ

PHP

PHP messagebox ํ•จ์ˆ˜

๐Ÿฉท ์Šˆ ๐Ÿงก 2008. 4. 30. 11:31
728x90
SMALL
/*
* ํ•จ์ˆ˜๋ช…: messageBox
* ์ž๋ฐ” ์Šคํฌ๋ฆฝ Alert์ƒ์ž๋ฅผ ์ถœ๋ ฅํ•ฉ๋‹ˆ๋‹ค.
* Argus : msg   : ์ถœ๋ ฅ ๋ฉ”์‹œ์ง€
**/
function messageBox($msg) {
   $msg = ereg_replace("~n","\\n",$msg);
   echo("<SCRIPT LANGUAGE='javascript'> alert('$msg');</SCRIPT>");
}
728x90
LIST
๋Œ“๊ธ€
๊ณต์ง€์‚ฌํ•ญ
์ตœ๊ทผ์— ์˜ฌ๋ผ์˜จ ๊ธ€
์ตœ๊ทผ์— ๋‹ฌ๋ฆฐ ๋Œ“๊ธ€
Total
Today
Yesterday
๋งํฌ
ยซ   2025/04   ยป
์ผ ์›” ํ™” ์ˆ˜ ๋ชฉ ๊ธˆ ํ† 
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
๊ธ€ ๋ณด๊ด€ํ•จ
250x250