Home and Learn: PHP Programming Course

The PHP echo() function


The PHP echo function can be used as an alternative to the print statement. These do the same thing:

$display_data = "something to display";

print $display_data;
echo $display_data;

<-- Back One Page | Move on to the Next Part -->

Back to the PHP Contents Page

Email us: enquiry at homeandlearn.co.uk