As you can probably ascertain from my profile and avatar - I am a PHP newbie and will probably flood this board with my work and where I need clarification. I'm from Toronto (Go Leafs Go!) and am open to any advice on materials, courses, tutorials, or tutors on PHP/MySQL.
The first thing I need clarification on is as follows:
<?php
echo "Hello World!" . "<br />";
echo('Hello World!' . '<br />');
echo("Hello World!" . '<br />');
?>
I'm confused as to the differences in these three statements. #1 comes from w3schools, #2 comes from a PHP coding friend, and #3 is my own mix of the preceeding two to see what would happen. They all output the same result.
I'm wondering if these comparisons (and learning the proper form for it) will eventually catch up to me later down the line and impede my learning/coding ability.
Thanks again for your help, and I look forward to learning from all of you and making some friends along the way!
Regards,


Sign In
Create Account


Back to top









