Hello, World
What World is This?
I see. OK. we will be leaving now.
Now ...
1. if you want to serve juice with fries, ok.
That was the standard <?php echo --; ?> syntax.
2. some editors are more confusing than the language they generate.
This was the <script language="php"> --; </script> syntax.
3.
This is a test
This is a test
We restored the last closing tag
If that did what I expect, there are 3 visible statements above. No semicolon in 2nd.
Semicolon is not essential, but closing tag is. ?
4. Now is time for a bigger test.
.
===========================================
Switching to the David G. tutorial where presentation is ... different.
Below, I use <? without php, encloses print(" "); as command instead of echo ' ';
1. Hello world! -hph
2. Here I define a string variable called "welcome_text." -hph var def, no display.
3. Now I hope to display it using echo instead of print. Hello and welcome to my website. -hph
4. I change the font in html, & try David's print command again.
If all errors, it'll be back to web matrix to highlight them.
Hello and welcome to my website. -hph