I'm trying to display a $_POST that has a variable within.
Here's my PHP code:
<?php if ($options) { ?>
<?php foreach ($options as $option) { ?>
<?php if ($option['type'] == 'select') { ?>
<textarea name="<?php echo $option['name']; ?>" rows="1" cols="20" class=""><?php echo '$_POST['.$option['name'].']' ?></textarea>
<?php } ?>
<?php } ?>
<?php } ?>
So far I'm able to display the $option['name'] variable.So, for <?php echo '$_POST['.$option['name'].']' ?>, I get $_POST[size] for exemple in the textarea.
Any idea how to work this out?