Hi,
I want to echo a variable reference stored in the database. Here's the sample:
I have table, with one field, a VARCHAR 255.
The data stored in that field is: My name is $name
I retrieve the contents of that record from that table. And store it into a variable, like:
$name = "BOB"; // defined before I retrieve the data from DB.
$tabledata = $ra[field]; // data from DB retrieved okay.
echo $name;
Why won't that work? The intended output is "My name is BOB".
INSTEAD, I get "My name is $name"
Any help greatly appreciated!