Can't get variable of php

I have followed this tutorial

But is doens’t work. It seems so simple but i can’t get it runnig

If i start the test.php i get this .abcmyvar=abc.
If i start the test.html i don’t see anything. i have changed the colour, and a background, but i still see nothing.
Anyone an idea?

I finally have found what was wrong:
print “myvar=$x”; changed in
print “&myvar=$x”;

And it works. bug in tutorial?