Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa PHP echo and print statement
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


samar
echo and print statement
1 Answer(s)      4 years ago
Posted in : PHP


hello,

What is the difference between echo and print statement?


Advertisement
View Answers

October 29, 2010 at 2:36 PM


hii,

echo() can take multiple expressions,

Print() cannot take multiple expressions.

And echo is a little bit faster.



Related Tutorials/Questions & Answers:
echo and print statement
echo and print statement  hello, What is the difference between echo and print statement
echo and print statement
echo and print statement  hello, What is the difference between echo and print statement?   hii, echo() can take multiple expressions, Print() cannot take multiple expressions. And echo is a little bit faster
Advertisements
Print or Echo Functions in PHP
Print or Echo Function in PHP Although the use of both Print and Echo are same, but it has been seen that people uses echo command more then the print... that echo is bit faster then print command, as it does not return any value
Print a statement
Print a statement  hello what would we output for this statement System.out.println ("5"+"A" + 3);   hello output will be 5A3
What is the use of Print or Echo Function in PHP?
What is the use of Print or Echo Function in PHP?  Hi, Can anyone explain what is the use of print or Echo function in PHP? Please provide online reference for this. Thanks,   Hi, Although the use of both Print
For printing out strings, there are echo, print and printf. Explain the differences.
For printing out strings, there are echo, print and printf. Explain the differences.  For printing out strings, there are echo, print and printf. Explain the differences
PHP Introduction to PHP Echo and print Tutorial
forms of outputting: print() and echo(). First... was written for. The first outputting function I will show you is print.... The basic structure of print() is:      <?php  
echo- Not a function
echo- Not a function       In php generally we use echo command to print something. echo is not a function...: This is multiple line Example: <?php echo "Hello world"."<br/>"
If statement doesn't work ,(doesn't print alert message when user dont field name and email)
If statement doesn't work ,(doesn't print alert message when user dont field..., $body_message, $headers); if ($mail_status) { echo "\n"; echo 'var str = \"download\"' . "\n"; echo "document.write(str.link(\"http
Echo 2
Echo 2       Echo 2 allows you to code Ajax apps in pure Java (Demo)which automatically generates HTML and Javascript. Read full Description
javascript echo php
javascript echo php  i would like to know the complete syntax with the running example of using JavaScript echo in PHP. Thanks
java code for print true if even and false if odd and print error if any float value with out using conditional and looping statement
java code for print true if even and false if odd and print error if any float value with out using conditional and looping statement  hi class Even{ public static void main(String[] arg){ int num=Integer.parseInt
print
print  How to print JFrame All Componant?   Please visit the following link: http://www.roseindia.net/java/example/java/swing/Print.shtml
Print
into the stream and, as opposed to print() method, gets you to the new line after the text
for statement
for statement  for(int i=0;i<5;i++); { system.out.println("The value of i is :"+i); } if i end for statement what will be the output   got the answer.. it displays only the last iteration that is "The value of i
PHP Echo Variables
PHP Variables Echo PHP Echo() Function is used to display the output of your... echo. If you want to passed more than one variable to display then it shouldn't be enclosed within parenthesis. Echo() doesn't react like a function
PHP Echo Function
PHP Echo Function As you know echo () is one of the function of php, which... the echo function as given below… <php Echo “hi how are you... to it. And just write “echo $variablename; PHP Echo Function Example: <php
print the sequence
print the sequence  how can I write the code by using for loop to produce this following statement: 10,9,8,7,6,5,4,3,2,1,buzz! please, help me
print a form of *
print a form of *   * *** ***** ******* ********* ******* ***** *** *   Post the format properly
print the newline
print the newline  Why doesn?t the following code print the newline properly? <?php $str = ?Hello, there.\nHow are you?\nThanks for visiting.?; print $str; ?>   Hi friends, Inside the single quotes \n (newline
print numbers
print numbers  1234 123 12 1234   1234 123 12 1234
Print the document
Print the document  I tried to print web page.I am using the below...() { var printWindow = window.open('test', 'Print Window', 'height=600,width...;Print Window</title>'); printWindow.document.write('</head>
Print the document
Print the document  I tried to print web page.I am using the below...() { var printWindow = window.open('test', 'Print Window', 'height=600,width...;Print Window</title>'); printWindow.document.write('</head>
Statement block
Statement block  What is the purpose of a statement block
date print
date print  how can i print the date in jsp page in the following formate month-date-year. (example. march 8 2012
date print
date print  how can i print the date in jsp page in the following formate month-date-year. (example. march 8 2012
diamond print
diamond print   print the pattern 1 2 3 4 5 6 7 8 9 10 11 12
print initials
print initials  How to print initials of a name without using arrays?   Hi Friend, You can try the following code: import java.util.*; public class InitialName { public static void main(String[] args
if statement in php
if statement in php  Correct way of writing if statement in PHP
java if statement
java if statement  If statement in Java
While loop Statement.
While loop Statement.   How to Print Table In java using While Loop
Advertisements
 

 

 

DMCA.com