Introduction to PHP
First step into the server-side language PHP: printing with echo, variables with $, and embedding variables into text.
Simple enough for a 5-year-old to understand
Print with echo
PHP code starts with <?php. echo is used to output to the screen.
<?phpecho "Hello!";🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (2 left)
🎯 Expected output: Hello World