[jQuery] newbie php .get question

[jQuery] newbie php .get question


Newbie here. Thanks for any help.
Serving php 4.4.7 locally from Apache / mac 10.3.9 jQuery1.2.1 -
php's running so I don't *think* it's an Apache/php issue.
I'm trying to load dynamic variables from php but so far I get the
whole script:
$(document).ready(function(){
    $("a").click(function() {
        $.get('print.php', { name: this.name, id: this.id },
        function(data){
            alert("Data Loaded: " + data);
        });
        return false;
    });
});
Alerts:
<?php
print ("hello world");
?>
Instead of the hoped for 'hello world'