Forgot Password?   Help

Event Calender

November 15
Sun Mon Tue Wed Thr Fri Sat
      1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

Difference between echo and print There is a slight difference between print and echo which would depend on how you want to use the outcome. Using the print method can return a true/false value. This may be helpful during a script execution of somesort. Echo does not return a value, but has been considered as a faster executed command. All this can get into a rather complicated discussion, so for now, you can just use whichever one you prefer. The biggest triviality that plagues most newcomers to PHP is the fact that there are two commands that do (what appears to be) the exact same thing. Print and Echo both output data to the screen in a similar fashion- so why have two different commands for the same thing?

Submitted by:prakash bahadur saud
Student Batch:2002-2004
Under the supervision of Dr. onkar prasad sharma
Submitted on  
Click here to download thesis
WebTeamCopyrights © 2010, Central Department of Computer Science and Information Technology. All Rights Reserved.