<?php
    echo "<script type='text/javascript'>alert('$msg');</script>";
    echo "PHP file executed";
?>