OK. I am writing to an xml. If I put in the php:
$xml=bgcolor=".$vbulletin->options['mybg']." That is fine. The xml gets written with the correct value.
Now, if I put those in the db and do a query_first to retrieve it, then in the php I do
$xml=$myquery[result];
the xml gets written with the unconverted value for the option. It just displays bgcolor=".$vbulletin->options['mybg']." I tried the first post codes with no success.
Same goes for $vbphrase.
the very hard way I am trying to avoid would be to do a str_replace before I write to the xml. But there are so many options and phrases involved ...
|