السلام عليكم
عندي مشكل مع العربية في phpو mysql
عندما أطلب البيانات من قاعدة البيانات تخرج على شكل ؟؟؟؟؟؟؟؟؟؟؟؟
كتبت في html
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
http://www.w3.org/1999/xhtml" xml:lang="ar" lang="ar">
<head>
<title>موقعي</title>
<meta http-equiv="Content-Type" content="text/html; charset=cp1256" />
</head>
و ترميز قاعدة البيانات في mysql هو cp1256
حاولت التغيير إلى UTF-8 لكن دون جدوى
عندي مشكل مع العربية في phpو mysql
عندما أطلب البيانات من قاعدة البيانات تخرج على شكل ؟؟؟؟؟؟؟؟؟؟؟؟
كتبت في html
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
http://www.w3.org/1999/xhtml" xml:lang="ar" lang="ar">
<head>
<title>موقعي</title>
<meta http-equiv="Content-Type" content="text/html; charset=cp1256" />
</head>
و ترميز قاعدة البيانات في mysql هو cp1256
حاولت التغيير إلى UTF-8 لكن دون جدوى
تعليق