> echo and print ~ Online tutorial

echo and print

The echo() and print() function are used to output the given argument.it can output all types single and multiple outputs can be made with these command
Syntax
int print(string $arg)
void echo (string $arg1[,string $ ,,])
Similarities
They both language constructs (not function)so they can be used without parentheses
Example


<?php
echo "welcome to india":
print "welcome to india";

?>

Output:

Please Give Us Your 1 Minute In Sharing This Post!
Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: BloggerYard.Com

0 comments: