Simple Mailing List Script

How to add java "alert" in a php file?
Hello: I use a php "action" to form Mailing List simple e-mail with a validation error if I want to replace my error message "Page aseprate to alert message using java and I do not know not sure how to add my java script. "Php" file … Is this possible? Thank you much in advance
Enter your zip code in the try block. As u can write a catch block catches the exception. Write a message $ msg = "Sending mail does not" well. This catch block call js fuction one iota the parameter $ msg JS Sholder and function that the function (MSG) (alert ($ msg);) If a problem contact me
How to create a website using PHP. EASY HOW TO… Part 2