echo display command

echo is the most commonly used command for output and display functions in PHP.

We can make it display any visible characters.

<?php

echo 123;

?>
<?php

$iphone = 6088;

echo $iphone;

?>

You can experiment with it. In the next chapter, when we talk about data types, I will teach you how to output Chinese and use PHP to display web page content.


Word:

*echo * Pronunciation: ['ekoʊ]
Explanation: To echo; to reverberate.
Function explanation: output, display

Continuing Learning
||
<?php $iphone = 6088; echo $iphone; ?>
submitReset Code