Is there a way to convert input texts to its decimal ncr in php?
I am currently using the form method (<form> & <input>) to send text information to a php file.

But I would like to send these texts converted to ncr decimal.
For example, when I type "abc" in text input, I want it to be sent to php as

& #97 ;&#98 ;&#99 ;

The reason because post returns error when text contains quotas, question marks, smile faces ... etc.

Thanks
Tigger Reviewed by Tigger on . Is there a php function to convert text to decimal ncr? Is there a way to convert input texts to its decimal ncr in php? I am currently using the form method (<form> & <input>) to send text information to a php file. But I would like to send these texts converted to ncr decimal. For example, when I type "abc" in text input, I want it to be sent to php as & #97 ;&#98 ;&#99 ; The reason because post returns error when text contains quotas, question marks, smile faces ... etc. Rating: 5