943,832 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 475
  • PHP RSS
May 25th, 2008
0

problem with language

Expand Post »
hi friends, i have problem with Arabic language in php page, how i can display the Arabic language in my pages.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
almualim is offline Offline
28 posts
since May 2008
May 25th, 2008
0

Re: problem with language

You need to make 2 changes
1. Modify your HTML page to set content type has below
html Syntax (Toggle Plain Text)
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-type" value="text/html; charset=utf-8">

2. After mysql_connect() and mysql_select_db() add this line
mysql_query("SET NAMES utf8");
Reputation Points: 29
Solved Threads: 47
Posting Whiz
mwasif is offline Offline
312 posts
since Dec 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Installing PHP on Win XP Pro
Next Thread in PHP Forum Timeline: PHP Calculator Help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC