I have googled a lot but it seems that I am doing something wrong.
I want to do this:
You are including the CSS code as text in your PHP page. Why not just link it in the traditional fashion?