-1

I'm trying to output different variations of text but it does not seem to be working. I have tried the examples on the web but with no luck.

For example, If i do the following command:

<?php echo “Test”; ?>

The output on my webpage is "Test" with quotes rather than Test without quotes? Shouldn't it output without the quotes?

If i put any spaces in my string, the page doesn't even load. For example:

<?php echo “Test Test”; ?>
gatin
  • 19
  • 2

1 Answers1

1

You need other quotes:

<?php echo "Test Test"; ?>

The ones you were using come from MS Word and the blank page you're seeing is most likely due to an error being suppressed.

Jan
  • 42,290
  • 8
  • 54
  • 79