|
Posted by veg_all on 12/15/06 05:16
I replace some user input with their ascii equivalent so they display
on the webpage properly:
$entry = preg_replace ( "/\'+/" , ''' , $entry);
$entry = preg_replace ( "/\,+/" , ',' , $entry);
I then need to email the data, however in email the ascii code is
displayed, not the text.
Is there an easier way to convert the ascii back to the text without
another preg_replace?
Navigation:
[Reply to this message]
|