What is the php function to transform " into " and ?japanese symbols to 秒
Because I'm making a form and I want to update it but the value comes out as:
<input type="text" value=""Peace" by Dat"/>
So yeah... to fix this I need to transform it into w/e it's called to make it work.
Turn into...
Started by Dat, Sep 12 2007 06:13 PM
3 replies to this topic
#1
Posted 12 September 2007 - 06:13 PM
#3
Posted 12 September 2007 - 11:16 PM
htmlspecialchars() will do the quotes. There is no native function for unicode charactes, but the user comments for that function or htmlentites() may provide some insite into how to do that.
Correction: No function yet: http://php.net/manua...ref.unicode.php (for future reference only).
Correction: No function yet: http://php.net/manua...ref.unicode.php (for future reference only).
Edited by rc69, 12 September 2007 - 11:17 PM.
#4
Posted 13 September 2007 - 08:22 AM
Thanks it's working now.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
