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