Being able to input English + Arabic and display them properly - repost
$10-30 USD
Доручено
Опублікований about 10 years ago
$10-30 USD
Оплачується при отриманні
Hello,
So I have a form where:
<tr><td align = "right"><input type = "text" maxlength="30" dir="rtl" lang="AR" name = "person_biography"></td>
Now every time a guest inputs something in arabic, it displays it fine;however, if they input a combination of Arabic and English, it will look very messy. Ex:
تم افتتاح صالة Green Dolphin Palace في منطقة راس العين
When I display it using :
<?echo'<b><font size ="4.5px"><p dir ="rtl">'.$p_biography.'</p><br></b>'; ?>
I get something like تم افتتاح صالة Green Dolphin Palace فيGreen Dolphin Palace منطقة راس العين
Very un-organized. What do I need to do?
Thank you