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
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"; ?> |
0 comments:
Post a Comment