Hello, I just installed XAMPP to a Windows 7 computer and I am trying to learn some PHP. I go to C:/xampp/htdocs and create a file named phptest.php. And I write inside this code :

echo “If this works, we <i>really</i> did it!”;

And I go to http://localhost/phptest.php I get the code itself not the desired sentence. Can you tell what I am doing wrong?
Thank you very much.

I solved it. I wasn't using code part of dreamweaver. Stupid mistake..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.