Jump to content

Recommended Posts

Hi dears

 

New to this forum but not development

 

How can I add Urdu/Arabic into PHP pages. I have already implemented UTF-8 encoding but the text appears to be question mark series. Also how to store Urdu/Arabic language to MySQL database.

 

thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/160746-working-with-urduarabic-languages/
Share on other sites

I have already implemented UTF-8

Explain how you have done this.

 

For MySQL make sure you have chosen the correct encoding for your tables. Also use this query after connecting to the database prior to any insert query:

mysql_query("SET NAMES UTF8");

Sorry for too late

 

thanks for suggesting database information.

 

I have added this in the meta tag like

 

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

 

but I was still unable to get correct Urdu/Arabic words, just only question marks

Would like to put a little example.

 

I can't understand how to implement this.

 

I this where to place herader. in the start of the page once or every time when some urdu/arabic text come.

 

I have embed them with in english or other languages.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.