Answers for "alert on php"

PHP
13

alert in php

echo '<script>alert("Message")</script>';
Posted by: Guest on August-06-2020
0

alert in php

// This is in the PHP file and sends a Javascript alert to the client
$message = "Something";
echo "<script type='text/javascript'>alert('$message');</script>";
Posted by: Guest on March-11-2020
1

allert in php

// This is in the PHP file and sends a Javascript alert to the client
$message = "wrong answer";
echo "<script type='text/javascript'>alert('$message');</script>";
Posted by: Guest on October-15-2020

Browse Popular Code Answers by Language