Hi
I have the following text in a mySQL text field (an example - not real!):
The color of the apple is $applecolor and it looks good.
I connect to the db and get the field and it is in the array variable
$bodyC['bodypara']
Having defined $applecolor (say as red), I want to print or echo this into HTML. I tried this:
echo $bodyC['bodypara'];
But it doesn't change the variable name into the color, ie it prints the text literally. How do I get PHP to see the variable in the variable and interpret it?
Many thanks in advance for any help 😉
Trevor