Question about The PHP Group PHP

2 Answers

Echo PHP What is the difference between PHP echo and print?

Posted by on

2 Answers

  • Level 1:

    An expert who has achieved level 1.

    Corporal:

    An expert that has over 10 points.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 8 Answers

Echo is marginally faster than print, and print returns a value, echo does not.

Echo allows comma separated arguments which it will concatenate. Print accepts only a single argument, but this is hardly a deal-breaker, because you can concatenate with a dot anyway.

Echo does not have a place in the precedence table, which means you can't use it in a complex expression.

That said ... for most cases, the major significant difference is:

Echo is quicker to type :)

Posted on Nov 26, 2008

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    Hot-Shot:

    An expert who has answered 20 questions.

    Corporal:

    An expert that has over 10 points.

    Mayor:

    An expert whose answer got voted for 2 times.

  • Expert
  • 72 Answers

Print outputs a single string, echo can output multiple strings. (It's in the help file.)

Posted on Sep 10, 2008

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

How how do i get the echo off of my phone


Amy, Go into call history log, hit menu, go to call settings, additional settings, and unclick the Noise Reduction selection.
Check the attached links,
"I hope this helped you out, if so let me know by pressing the helpful button. Check out some of my other posts if you need more tips and info."

Cell phone echo problem How to fix

http://boards.straightdope.com/sdmb/showthread.php?t=150390

How to Cancel the Echo on Cell Phone eHow

Person talking to hears their echo how do fix this

Mar 05, 2016 | Cell Phones

1 Answer

Whats the difference between the echo 680 and 680s


Whats the difference between the echo 680 and 680s it is the sport edition

Dec 20, 2013 | 2000-2005 Toyota Echo Antenna, 00-05...

1 Answer

I just received my RSQ-echo 2000 karaoke machine. When I plug a mic into the front 2 mic inputs, they both have echo, even tho I turned off the echo volume in the back. I assumed that by turning it all...


The control supposedly controls the mix of the echo... this is a reverb type sound. Please note that room acoustics AND if the mic's "hear" the speaker in this, it may create an echo that is NOT under control of the adjustment. Make sure the mic's cannot "hear" the speaker or a reflection off a wall.

Aug 17, 2011 | RSQ NK 2000U

1 Answer

Other person can't see me on their side


Hi,

Try tuning on the AEC(Acoustic Echo Cancellation)

AEC or echo canceling can be toggled on and off via the QuickCam interface.

QuickCam 9:

Toggling AEC on and off (Windows® XP Users)

1. Go to "Start" and select "Control Panel"

2. In the "Control Panel" locate and click the "Logitech Camera Settings" icon

3. Click the "Audio" tab and locate the "Enable AEC" check box

Toggling AEC on and off (Windows® 2000 or XP Classic Mode Users)

1. Go to "Start" select "Settings" and click "Control Panel"

2. In the "Control Panel" locate and click the "Logitech Camera Settings" icon

3. Click the "Audio" tab and locate the "Enable AEC" check box


QuickCam 10/11:

Toggling AEC or "Echo Canceling" on and off

1. Open the QuickCam main menu

2. Locate and click the "Change Settings" button

3. Click the "Audio Settings" button

4. Check or uncheck the "Cancel Echo" option

Call Central:

Toggling AEC or "Echo Canceling" on and off

1. Open the Call Central main menu

2. Locate and click the "Change Settings" button

3. Click the "Audio Settings" button

4. Check or uncheck the "Cancel Echo" option

Yo can try the audio tuning :

http://logitech-en-amr.custhelp.com/cgi-bin/logitech_en_amr.cfg/php/enduser/std_adp.php?p_faqid=2835&p_created=1124146188&p_sid=_KquRy3j&p_accessibility=0&p_redirect=&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MTUsMTUmcF9wcm9kcz04NDQsNSw4OTcmcF9jYXRzPSZwX3B2PTMuODk3JnBfY3Y9JnBfcGFnZT0xJnBfc2VhcmNoX3RleHQ9YXVkaW8gbm90IGNsZWFy&p_li=&p_topview=1

Or

http://tinyurl.com/45ay9b

Update the Skype & the drivers for your webcamera.

May be there is lot of disturbance in the medium.

And i am giving you the lnks which can help you :

http://logitech-en-amr.custhelp.com/cgi-bin/logitech_en_amr.cfg/php/enduser/std_adp.php?p_faqid=7287&p_created=1193078628&p_sid=_KquRy3j&p_accessibility=0&p_redirect=&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9NCw0JnBfcHJvZHM9ODQ0LDUsMTkxMyZwX2NhdHM9JnBfcHY9My4xOTEzJnBfY3Y9JnBfcGFnZT0xJnBfc2VhcmNoX3RleHQ9cGljdHVyZSBxdWFsaXR5&p_li=&p_topview=1

Or

http://tinyurl.com/3teqez

and

http://logitech-en-amr.custhelp.com/cgi-bin/logitech_en_amr.cfg/php/enduser/std_adp.php?p_faqid=54&p_created=1083862182&p_sid=_KquRy3j&p_accessibility=0&p_redirect=&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9NCw0JnBfcHJvZHM9ODQ0LDUsMTkxMyZwX2NhdHM9JnBfcHY9My4xOTEzJnBfY3Y9JnBfcGFnZT0xJnBfc2VhcmNoX3RleHQ9cGljdHVyZSBxdWFsaXR5&p_li=&p_topview=1

Or

http://tinyurl.com/4ff4bn

and

http://logitech-en-amr.custhelp.com/cgi-bin/logitech_en_amr.cfg/php/enduser/std_adp.php?p_faqid=58&p_created=1083864116&p_sid=_KquRy3j&p_accessibility=0&p_redirect=&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9NCw0JnBfcHJvZHM9ODQ0LDUsMTkxMyZwX2NhdHM9JnBfcHY9My4xOTEzJnBfY3Y9JnBfcGFnZT0xJnBfc2VhcmNoX3RleHQ9cGljdHVyZSBxdWFsaXR5&p_li=&p_topview=1

http://tinyurl.com/42hd7t

Hope this helps.


Please post your feedback and Vote if the problem resolved as per your satisfaction.

Sep 30, 2010 | Gear Head WC535I Webcam

1 Answer

Need oil/gas ratio for Echo back pack lblower - model PB-400E


Since every engine is different the manufacturer almost always has it printed in the gas cap. It should look like 50:1 or 50/1 (50 parts gas to 1 part oil).




















Mar 31, 2010 | ECHO, Inc. PB-251C Handheld Blower

1 Answer

PHP/SQL Problem


have you read the dataset in (i.e $row)?
you would require some sort of select statement to read the data frm sql into a dataset before yopu can read and display each record in the dataset.

i gather you may be new to sql statements. the bottom commect $query.... is reading the dataset into $query, the one you have issues with needs code that reads a record into $row

Jan 25, 2010 | The PHP Group PHP

1 Answer

This is an illustration of use of classes in php please tell me do i need to put the classes in seperate php file and the objects in seperate file or in other words for the below example how many seperate...


Everything can be in the one file if you want, but that doesn't help with segregation of logic from the presentation layer (i.e. what you see on screen).

Personally I'd put my core class libraries in one or more files and include() them. And I'd probably put any extended classes in separate files and include() them additionally.

include ('library.class.php');
include ('extended.class.php');

Oct 14, 2009 | Computers & Internet

4 Answers

Hp g6000 running very slow any suggestions.


The HP g6000 slow issue can be caused by many many reasons such as outdated hardware, overload startup programs, corrupt registry issues, too many junks, virus attack, poor security software taking too much system resources, remnants of uninstalled applications etc. The fact is, you should keep some system maintenance job regularly. If you don't want to do these manually, try the solution http://www.speeduphp.com/fix-slow-hp.html to give a free & full scan of your slow HP PC to find & fix all possible issues.


Meanwhile, upgrading hardware configuration (add RAM, change a new video card, larger-volume HDD etc) can be a fast yet effective way to improve your pc performance.

Mar 09, 2009 | HP Pavilion dv6000z Notebook

1 Answer

PHP issues with ''''... Please help!!!


Hello.

If you want PHP to use quotation marks you have to seperate them from the ones that start the expression by a backslash(\).

Here are two examples:
WRONG: echo "A "QUOTE" AND SOME TEXT";
RIGHT: echo "A \"QUOTE\" AND SOME TEXT";

or

WRONG: echo 'A 'QUOTE' AND SOME TEXT';
RIGHT: echo 'A \'QUOTE\' AND SOME TEXT';

I hope this helps.

Kind Regards,
Wilhelm@X-ex.info

Feb 26, 2009 | The PHP Group PHP

Not finding what you are looking for?
The PHP Group PHP Logo

Related Topics:

1,848 people viewed this question

Ask a Question

Usually answered in minutes!

Top The PHP Group Computers & Internet Experts

dhnguyen

Level 2 Expert

272 Answers

Robin Hill
Robin Hill

Level 3 Expert

1262 Answers

Mike

Level 3 Expert

4332 Answers

Are you a The PHP Group Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...