Home | Insert New Record | Login | Logout | |
FAQ
NEWS
FEEDBACK
HTML CSS PHP SQL
PHP echo and print Statements
Welcome !
PHP echo and print Statements

PHP echo and print Statements

In PHP there are two basic ways to get output: echo and print . In this tutorial we use echo (and print) in almost every example. In PHP ‘echo’ statement is a language construct and not a function, so it can be used without paranthesis.
The PHP print statement is similar to the echo statement and can be used alteranative to echo at many times.It is also language construct and so we may not use parenthesis : print or print().
So, this chapter contains a little more info about those two echo and print output statements.

Example #1 echo examples

<?php
echo "Hello World, Hello There";

echo 

Users replays
0 results
- Add your answer -