| | |||||
| ||||||||
| 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 Member Join Date: Sep 2005
Posts: 30
![]() | Special Characters Problem in Form PHP-MySQL I've got an order form where people can input name, address etc. One of the customers have tried to put special characters : State Field : Baden-Württemberg But when I display the order details, it show it liek this : Baden-Württemberg Is there any function in PHP to avoid this problem ? |
| |
| | #3 (permalink) |
| Domains my Dominion Join Date: Aug 2005 Location: Web 1.0
Posts: 9,552
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | You can also use htmlentities() with character sets like ISO-8859-1
__________________ NameNewsletter.com - free lists of available domain names ZoneFiles.net (beta) - ccTLD and gTLD droplists |
| |
| | THREAD STARTER #4 (permalink) |
| NamePros Member Join Date: Sep 2005
Posts: 30
![]() | Special Characters I tried mch's method by setting the encoding to utf-8 and it worked fine. Thanks very much..... One more question though I need to display Dates in French. Wonder if u've any idea of that as well ? |
| |
| | #5 (permalink) |
| Domains my Dominion Join Date: Aug 2005 Location: Web 1.0
Posts: 9,552
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
__________________ NameNewsletter.com - free lists of available domain names ZoneFiles.net (beta) - ccTLD and gTLD droplists |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| $12/year hosting! Sale Ends Today! | Senad | Web Hosting Offers | 0 | 10-09-2005 09:44 AM |
| Legal Forms for the Hosting Industry, (including Pre-release Sale Special) | zerdomains | Web Development Wanted | 0 | 05-22-2005 06:59 PM |
| PHP Form Script | Alpha | Programming | 12 | 07-20-2003 04:54 PM |