| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Dec 2004 Location: Penang, Malaysia
Posts: 874
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | php special chars Hello, Anyone know how to replace special chars in php with correct html code? like “ to %93 and ” to %94 and so on. Thanks in advance.
__________________ █ Hostegic - Premium cPanel Hosting [Softaculous | RvSitebuilder | R1Soft daily backups | LiteSpeed] █ [UK] [Linux - cPanel | Windows - WebsitePanel/Plesk] [Shared Hosting | Reseller Hosting | VPS] |
| |
| | #2 (permalink) |
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | You need htmlentities
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft |
| |
| | #3 (permalink) |
| NamePros Member Join Date: Dec 2005
Posts: 49
![]() | php.net/urlencode php.net/htmlspecialchars php.net/htmlentities
__________________ █ Dedicated Servers starting @ $37 + 50% off first month. █ Linux VPS starting @ $5 + 50% off first month. █ cPanel Reseller (WHM) starting @ $3 + 50% off first month. █ * * Cubichost.org * * |
| |