I attempted to create a customized alert box using HTML, CSS, and JavaScript. However, I am facing the issue of how to call it within the echo function of PHP.
if (($con -> query($query) === TRUE) &&
($con -> query($query1) === TRUE) &&
($con -> query($query2) === TRUE) &&
($con -> query($query3) === TRUE))
{
echo "<script>alert('Employee Successfully Added')</script>";
}
If all queries are successful, the custom alert box will display.