You are here: Re: html special character in the when submit form « PHP Programming Language « IT news, forums, messages
Re: html special character in the when submit form

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация