0

In this website there are strange thing or missing point
Database is :
http://files.engineering.com/getfile.aspx?folder=d93b360c-2dad-41da-bd63-23327dae5863&file=Database.JPG
see no 15,16
different in language
Interface PHP
See Difference
http://files.engineering.com/getfile.aspx?folder=9fc7f64f-6800-4427-baa6-ef05f3431839&file=PHP_WEB.JPG
same interface code
but different only in language
How to change ???? to الصيانه
i set collision for table is
utf8_general_ci
i set collision for database
utf8_general_ci
for colmun used for arabic is
utf8_general_ci

Edited by ahmedsa

2
Contributors
4
Replies
17
Views
2 Years
Discussion Span
Last Post by Sana_4
0

use this two line when you insert or display data from database
mysql_query("set character_set_server='utf8'");
mysql_query("set names 'utf8'");

0

Thank you for reply
you are true
i changed the code in query above using utf8 as you tell me in previous thread
then go to MySQL and remove strange character then rewrite using Arabic language
and OK working but this is will take too much time to change all and rewrite
Are there are any way to accept strange characters(اتصل بنا) and in same time
accept any new characters Arabic
Example
Before changes (Before add MySQL_query in connection in php) as link below
www.altawi.com.sa
Database
Arabic field :اتصل بنا(WRONG FORMAT) remove that and write كيف حالك
PHP WEBSITE IT SHOW AS FOLLOWING
???????(misunderstood FORMAT)
After changes(after add mysql_query in connection in php) as link below
Database
Arabic field :اتصل بنا(WRONG FORMAT) remove that and write كيف حالك
PHP WEBSITE IT SHOW AS FOLLWOING
كيف حالك (CORRECT FORMAT)ok accepted
this is OK after changed and i accepted
Only problem Now to make this will take too much time may be one 15 days
Are there are any modification to change that and in same time accept new charachter
http://files.engineering.com/getfile.aspx?folder=1aa4fb83-f4a0-4023-8a19-10066108e857&file=strange_text.JPG

0

السلام عليكم
انا لم افهم استفسارك بصورة جيدة بعد التغيرات ماهي المشكلة الحالية

  1. اذا كانت في الرموز قم باضافة هذين السطرين في بداية الصفحة
    <html xmlns="http://www.w3.org/1999/xhtml" dir="rtl">
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    best wishes
0

salam
I dont understand last problem clear
if problem with Incomprehensible letter
you can add this line in begin of page:

<html xmlns="http://www.w3.org/1999/xhtml" dir="rtl">
<meta http-equiv="content-type" content="text/html; charset=utf-8" />

best wishes

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.