PHP function: Javascript alert
function alert($msg) {
$alert = "<script type='text/javascript'>";
$alert .= "alert('".$msg."')";
$alert .= "</script>";
print($alert);
}
function alert($msg) {
$alert = "<script type='text/javascript'>";
$alert .= "alert('".$msg."')";
$alert .= "</script>";
print($alert);
}