11-09-2008, 09:11 PM
|
#1 (permalink)
|
|
The Contributor
Join Date: May 2008
Location: Oporto-Portugal
Posts: 32
Thanks: 11
|
get variable value out of a string
Hello dear colleagues from the talkphp forum,
I would very much appreciate some help regarding the following subject:
PHP Code:
$variable1 = "Hello";
$title = '$variable'."1";
echo $title;
This routine is returning the result:
$variable1
I would like to get the value "Hello" instead.
Can someone explain to me which php function can I use to retrieve the result that I am looking for ?
Thanks in advance,
pipesportugal
|
|
|
|