Hello friends in this day i teach you how use echo in php.

First exaple:

<?php

echo 'hello world';

?>



This is the result of the before example



<?php is the start

echo is for show a text in this case hello world

?> for end


Other example is when you need to put html text in a php archive

<?php

echo '<font color="#0f5f5t" size="12">hello world</font>';

<?

i use simple quotes because if i combine simple with double quotes send a error
Variables in echo 


The variables are represent with  a dolar sign

Example:

<?php
$day1= 30;

echo $day1;
 ?>

In this case the echo not show "$day1" this show the value of $day1 in this case 30


If you need help send me an PM