MODERATOR COMMENT: Adding eval() to arbitrarily execute random PHP or other code in the manner suggested here opens your site up to security risks.
USE AT YOUR OWN RISK.
I definately needed this feature. Here's an even simpler version.
Replace this:
with this:Code:<div><?php echo $var_pageDetails->fields['pages_html_text']; ?></div>
This way you don't have worry about php being 'on' in the ezpage - you can make the code of the page html with php inside it (a lot easier).Code:<div><?php eval(stripslashes('?>' . $var_pageDetails->fields['pages_html_text'])); ?></div>
Tim


Reply With Quote

