Welcome Guest, Not a member yet? Register   Sign In
Textarea and converting entities
#2

I guess you can use PHP's htmlentities() function:


PHP Code:
<?php echo form_textarea($inputs['PAGE_CONTENT'], set_value('PAGE_CONTENT'htmlentities($row->PAGE_CONTENT))); ?>
Reply


Messages In This Thread
Textarea and converting entities - by egall8 - 02-03-2015, 12:39 PM
RE: Textarea and converting entities - by Avenirer - 02-03-2015, 02:23 PM
RE: Textarea and converting entities - by egall8 - 02-05-2015, 09:00 AM
RE: Textarea and converting entities - by Narf - 02-05-2015, 11:16 AM
RE: Textarea and converting entities - by Narf - 02-07-2015, 01:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB