Posted by John Dunlop on 10/18/80 11:56
weetat.yeo@gmail.com wrote:
> I have a form that allow user to enter description , sometimes the
> description value have html special character for example %20 and etc.
>
> Inserting into the mysql database is ok , for example the description
> in my table is 'wt%20%20'.
>
> However . when i have href link which for instance
> '../edit/id=wt%20%20' .
>
> The mysql database cannot find the id in the table eventhough it
> existed in the table.
%20 in a URL path means a space. To use a percent sign as data,
percent-encode it as %25.
.../edit/id=wt%2520%2520
--
Jock
Navigation:
[Reply to this message]
|