how to combine the results of two variables to echo another variable?
Hello,
I'm a somewhat PHP newbie, so please bear with me.
Here is what I am trying to do:
$foobar = "blah blah";
$a = "foo";
$b = "bar";
$fooboo = "$a" . "$b";
echo $fooboo
I know my syntax here is not correct so I am looking for the function
to make $fooboo echo out the $foobar variable "blah blah", and not as
"foobar".
Any help is appreciated.
.
Relevant Pages
- Re: How to retrive data from an external database?
... > syntax you could use: ... > SELECT Something, SomethingElse ... Bear in mind that the structure of the ... (microsoft.public.access.tablesdbdesign) - Problem printing variable with $stdout.print
... I'm a newbie to Ruby & OO programming, so please bear with me. ... searched the forum & didn't find anything relevant. ... value of argvto standard output, but I can't figure out the syntax. ... (comp.lang.ruby) - Re: PEP 318: Cant we all just get along?
... Kevin Smith wrote: ... >Bear with me, but I'd like to propose one more syntax that is simple, ... >easy for newbies to understand, and nowhere near as powerful as the ... >current PEP's syntax. ... (comp.lang.python) - Re: Question of a novice
... VB is the language I dislike the most. ... Basically I can't bear its syntax. ... Ioannis Vranos ... (comp.lang.cpp) - Re: PEP 318: Cant we all just get along?
... >>Bear with me, but I'd like to propose one more syntax that is simple, ... >>easy for newbies to understand, and nowhere near as powerful as the ... >>current PEP's syntax. ... http://www.dartmouth.edu/~sting/ | Dartmouth College, Hanover, NH, USA ... (comp.lang.python) |
|