how to call alert function in php code example Example: show alert in php echo '<script language="javascript">alert("juas");</script>';