Help me .. uri encode not worked with mysql

Please help me … uri encode not work with my sql database … what i do?

What doesn’t work show the results or error you faced.

When i send data to sql table it not save in (URI coding) … it save in table sql in normal text …


I send “مرحبا” to sql table with use uri encode … it save in sql table “مرحبا” with out any change …
I mean not same this:

Now I’ve used “base64” encoding instead of “uriencode” to insert data to mysql database

Search in Google.
There are many examples about This subject.

Uri encode block is used to encode the uri and your text is not uri. Search Google about what is uri. Use base64 instead of it.