alert


string alert($msg='', $url='', $error=true, $post=false)

경고메시지를 경고창으로


경로

lib/common.lib.php


인수

string $msg

경고창 내용(메시지)


string $url

경고 후 이동 할 URL

URL이 없는 경우 history.back();


boolean $error

오류메시지 인지 결과 메시지 인지 구분


boolen $post

경고 후 포스트 전송인 경우


예제

// 예제

$msg = '경고 메시지';

alert($msg);




'개발자 인생 > 그누보드5' 카테고리의 다른 글

confirm  (0) 2018.07.16
alert_close  (2) 2018.07.16
get_cookie  (0) 2018.07.13
set_cookie  (0) 2018.07.13
get_session  (0) 2018.07.12