PHP is the back end and you can serve up java script to the browser (front end) to execute in the browser. On the back end I rarely see java script but do see Java.
Why Java Script on the backend when we have Java?
Bob
Hello everyone, My name is Jonquil Russell. I am a student and learning php for web designing. I want to know how to use java script in php. Can someone help me and provide me a mode where I can learn this coding.
Thanks
Jonquil Russell

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic