Echo vs. Print in PHP
Echo() and Print() are not functions but language constructs in PHP. They are both used to output strings and there are very minor differences between echo and print in PHP. echo print Parameters echo...
Echo() and Print() are not functions but language constructs in PHP. They are both used to output strings and there are very minor differences between echo and print in PHP. echo print Parameters echo...
Simply, the echo statement is used to output data. In most cases, anything output by echo ends up viewable in the browser. You could also have used the print() function in place of the echo...