I am building a dynamic section, but within each cell I would like to have php code. Everytime I echo it onto a page, the code comes out unrendered.
ex:
<?
$str = $row['desc']; //$str = 1 2 3 <?php echo "4";?> 5
echo $str;
?>
results in:
1 2 3 <?php echo "4";?> 5
I would like it to echo
1 2 3 4 5
How would I do this, if possible