Connecting Tech Pros Worldwide Forums | Help | Site Map

Counterpart of urldecode of PHP in HTML

Needs Regular Fix
 
Join Date: Dec 2006
Posts: 293
#1: Nov 21 '08
Hello,


What is the counterpart of urldecode of PHP in HTML ?


I want to encode in PHP and decode in HTML.

codegecko's Avatar
Moderator
 
Join Date: May 2007
Location: United Kingdom
Posts: 395
#2: Nov 21 '08

re: Counterpart of urldecode of PHP in HTML


Hi there,

There isn't one. HTML isn't used for transforming data, it's used for describing data. If you want to HTML-decode data you need a server-side language like ASP or PHP, or even some Javascript to do it for you.

codegecko
Reply