Announcements | Last Post | |
---|---|---|
SoC Curricula | 09/30/2017 01:08PM | |
Demarcation or scoping of examinations and assessment | 02/13/2017 07:59AM | |
School of Computing Short Learning Programmes | 11/24/2014 08:37AM | |
Unisa contact information | 07/28/2011 01:28PM |
Print and Echo August 06, 2013 04:51PM |
Registered: 10 years ago Posts: 25 Rating: 0 |
Language: PHP// You can use variables inside of an echo statement $foo = "foobar"; $bar = "barbaz"; echo "foo is $foo"; // foo is foobar // You can also use arrays $baz = array("value" => "foo"); echo "this is {$baz[';value';]} !"; // this is foo ! // Using single quotes will print the variable name, not the value echo ';foo is $foo';; // foo is $foo
Re: Print and Echo August 06, 2013 04:56PM |
Registered: 11 years ago Posts: 68 Rating: 0 |
Re: Print and Echo August 06, 2013 05:06PM |
Registered: 10 years ago Posts: 25 Rating: 0 |
Re: Print and Echo August 06, 2013 09:09PM |
Admin Registered: 11 years ago Posts: 6,606 Rating: 396 |
Re: Print and Echo August 07, 2013 03:27PM |
Registered: 10 years ago Posts: 37 Rating: 0 |
Re: Print and Echo August 07, 2013 03:59PM |
Admin Registered: 11 years ago Posts: 6,606 Rating: 396 |
Re: Print and Echo August 07, 2013 05:17PM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |
Re: Print and Echo August 09, 2013 03:50PM |
Registered: 10 years ago Posts: 57 Rating: 0 |
Re: Print and Echo August 13, 2013 12:44PM |
Registered: 10 years ago Posts: 14 Rating: 0 |
Re: Print and Echo August 13, 2013 01:49PM |
Admin Registered: 11 years ago Posts: 6,606 Rating: 396 |
Re: Print and Echo August 13, 2013 01:54PM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |