[eluser]toopay[/eluser]
[quote author="jvk22" date="1304113840"]...however every time I try to put the php tags in a variable, and echo is out, nothing displays.[/quote]
Did you try to see the source? CTRL+U. If php tag correctly rendered, then you'll see them.
[quote author="jvk22" date="1304113840"]
What should echo out is
<?php echo form_input($FIELD_NAME_attr); ?>[/quote]
To display it on a browser, try this...
Code:
$var = htmlspecialchars('<?php echo $var ?>');
echo $var;
to decode it, when you want to save it into a file, use
Code:
htmlspecialchars_decode($var);