How-to articles, tricks, and solutions about ECHO

How do I print all POST results when a form is submitted?

To print all the POST results when a form is submitted with PHP, you can use the print_r($_POST) function.

How to Print JavaScript Console Using PHP

On this page, we will illustrate how to use PHP echo for printing JavaScript console. Here, you will find several options for different occasions.

How to Use echo, print, and print_r in PHP

While working with PHP, every developer should know how to use echo, print, as well as print_r. Read our snippet to learn about these crucial parts of PHP.

php echo if two conditions are true

You can use the if statement in PHP to check if two conditions are true.