I have php code, but insude that code I should call js alert() function. Is it possible? if yes, how can I do it?
if($findUserRow['active'] == 0){
$message = "You should activate your account!";
alert($message); //here should be pop up window
}