Answers for "how to show alert in 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
1

alert a php variable

echo '<script type="text/javascript">alert("'.$error.'");</script>';
Posted by: Guest on August-12-2020
1

show alert in php

echo '<script language="javascript">alert("juas");</script>';
Posted by: Guest on April-29-2020

Browse Popular Code Answers by Language