Question mark problem

I just started with PHP and I found this code on a tutorial.

<?php print "

PHP is Fun!

"; print "Hello world!
"; print "I'm about to learn PHP!"; ?> <?php print "

PHP is Fun!

"; print "Hello world!
"; print "I'm about to learn PHP!"; ?>

But I get this when I open the file in firefox:

PHP is Fun!"; print "Hello world!
"; print “I’m about to learn PHP!”; ?>

How can I remove the questionmark and the semicolon?

You can have the file with a php extension and access the page via localhost.

Sponsor our Newsletter | Privacy Policy | Terms of Service