Posted by Victor Espina on 09/17/05 19:30
I have something like this:
$var1="A";
$var2="B";
I know that if I do this:
$result="$var1 <> $var2";
I will get:
"A <> B"
Now, I want the same result but with a string that I'm getting from a DB
table:
$var1="A";
$var2="B";
$result=GetMyString(); -> GetMyString() returns "$var1 <> $var2";
echo $resul; -> It should show "A <> B";
How can I do this?
Victor Espina
[Back to original message]
|