calling a function within html entity decode
Posted: Wed Jan 21, 2009 8:04 am
Hi ,
My site has a backend , the backend stores data through a WYSISYG editor . This editor is using htmlentities function to store any changes in the database through backend .
To display the data stored my site uses htmlentitydecode() function by fetching an object from database .
I want to include a php function in the site , however when i enter php function through backend , it simply echoes all php code . e.g. <?php echo "hello"; ?>
page displaying code is php itself.
Any way to get around this problem ?
Thanks
My site has a backend , the backend stores data through a WYSISYG editor . This editor is using htmlentities function to store any changes in the database through backend .
To display the data stored my site uses htmlentitydecode() function by fetching an object from database .
I want to include a php function in the site , however when i enter php function through backend , it simply echoes all php code . e.g. <?php echo "hello"; ?>
page displaying code is php itself.
Any way to get around this problem ?
Thanks