n

Php Classroom image

Rajesh  Goswami / Professional / Web Technology

 
To post your Question Join Classroom
 
Question No  (2 of 2)
First 1 I 2 
 
Question:-

What is the difference between echo and print?

 
Answer:-

Echo and Print both are used to output data on the screen/browser.

Difference: Echo has not return any value while print returns a value 1. Echo is faster than print. Echo can take multiple parameters while print can take a argument.

Ex.

1. echo "Hello";

output: Hello

2. print "Hello";

Output: Hello

Ex with multiple parameter:

1. echo "para one", " para two";

Output: para one para two

  Next
 
 
 
image
Rajesh  Goswami

Skills    Php

Qualifications :- High School - Town Hall public inter college, College/University - UPTU,
Location :-dehradun,dehradun,uttarakhand,
Description:-

I am a php developer. I have 3+ years of experience in php, mysql. Mostly projects I have done in wordpress CMS. I also delivered projects in laravel as well.
My objective for future is to learn Python language.

skills: php, mysql, laravel, css(bootstrap), javascript(jquery),


Explore
 

  Students (3)

Ask 
image
shubham
Ask 
image
Vikash
Ask 
image
Anil
 
 

Recommended Classes

Prashant Nigam
Student
image Anil Bist
in 2006, i Join a web development company in Bangalore and start work on "Ruby on Rail"...
Professional
image sonali uniyal
I am persuing MBA ,marketing management . And recently work at "Soarlogic Infomati...
Professional