I've got a database full of text fields, all of which contain WITHIN them the characters $myvariable. When I retrieve such text field and save it as a php variable, say as $myDBtext, I can definitely echo it, but I'm having really hard time echoing the variable WITHIN it (I got $myvariable's value already set). That is, I can't display the value of $myvariable. It just writes $myvariable but not its value... How can I display $myvariable's value?
<?php echo $myDBtext;?>
just displays the entire text, writing $myvariable
but not its value.
<?php echo "<?php echo '".$myDBtext."' ?>";?>
doesn't display anything.