|
| ||||||||||
| Tags: echo statement, php |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| ||||
| ||||
| How To Use Echo statement in PHP
please some one help. I want to pass the variables neatly in the below coloured boxes... how do I execute such using echo function.This is I am asking for to see how exactly we could use Echo statement in the PHP... |
|
#2
| |||
| |||
| Re: How To Use Echo statement in PHP
The echo () function is used to output the given argument. It can output all types of data and multiple outputs can be made with only one echo () command. Examples: PHP Code: |
|
#3
| |||
| |||
| Re: How To Use Echo statement in PHP echo() is not actually a function (it is a language construct), so you are not required to use parentheses with it. echo() (unlike some other language constructs) does not behave like a function, so it cannot always be used in the context of a function. Additionally, if you want to pass more than one parameter to echo(), the parameters must not be enclosed within parentheses. echo() also has a shortcut syntax, where you can immediately follow the opening tag with an equals sign. This short syntax only works with the short_open_tag configuration setting enabled. PHP Code: |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "How To Use Echo statement in PHP" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need to know about Kyocera Echo | Corwinn | Portable Devices | 4 | 15-02-2011 04:35 PM |
| What is Echo? What is the difference between Echo and Print statement in PHP? | Preetish | Software Development | 3 | 05-09-2009 01:41 PM |
| Information on php echo | Rebeccak | Software Development | 3 | 07-07-2009 09:56 AM |
| What is the difference between while statement & do statement? | Athos | Software Development | 4 | 25-02-2009 07:52 PM |
| Set colors in echo | revolucioncg | Software Development | 3 | 14-02-2009 08:53 PM |