Newbie: Grid does not display on .php page ?

I have written the standard code for initialising and displaying a grid in a .jsp page and it works fine. When I try the same code on a .php page it does not display anything.

Are you launching your sample from any kind of server?