how to wirte alert tag in php code example Example: alert in php echo '<script>alert("Message")</script>';