I want to know if its possible to store php variables in mysql database i currently have a text field which stores the value
<div class="row-2">
<div class="titles">
<?=$config['slogan']?>
</div>
</div>
this is the slogan for the website that is in anther table which is got before this - if i try and echo all that out it puts html comments around it so i get <!--$config['slogan']-->
if i use str_replace i get nothing from it - is it actually possible to change that into PHP without to much fuss or do i have to find anther way?