omidh
0
Q:

alert js in php

echo '<script>alert("Message")</script>';
1
// This is in the PHP file and sends a Javascript alert to the client
$message = "Something";
echo "<script type='text/javascript'>alert('$message');</script>";
0
javascript:alert('Email enviado com Sucesso!');
javascript:window.location='index.php';
0

New to Communities?

Join the community