how to design a web page in arabic?!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
vin_akleh
Forum Commoner
Posts: 53
Joined: Sat Feb 14, 2009 10:26 am

how to design a web page in arabic?!

Post by vin_akleh »

hi, i was asked to design a web page in arabic, and i dont have any idea how to do so, i use wampserver
any ideas??!!
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: how to design a web page in arabic?!

Post by AbraCadaver »

I would assume that it is the same as in English for the most part, except it is right-to-left and of course you must understand Arabic.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
vin_akleh
Forum Commoner
Posts: 53
Joined: Sat Feb 14, 2009 10:26 am

Re: how to design a web page in arabic?!

Post by vin_akleh »

what i meant is how will the HTML understand the Arabic language
whenever i type in Arabic using notepad++ it shows like this
??????????????????????????????
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: how to design a web page in arabic?!

Post by AbraCadaver »

I don't know about notepad. Is your computer setup to display Arabic correctly (this I know nothing about)? I think as long as your web pages are UTF8 and use right-to-left they should work fine, but we'll see:

Code: Select all

<html dir="rtl">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
User avatar
MichaelSK
Forum Newbie
Posts: 4
Joined: Wed Feb 24, 2010 4:15 pm
Location: Seattle

Re: how to design a web page in arabic?!

Post by MichaelSK »

You have to follow the rules for HTML, PHP and whatever you use as far as reserved words and syntax.

For example, to set a title in HTML it must use the letters
<title> example text </title>
However, you can replace the contents with whatever you want as long as it obeys the rules.

Take a look at a wiki page in Arabic http://arz.wikipedia.org/wiki/%D8%A7%D9 ... 9%8A%D8%AB
Post Reply